C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? int No data type float unsigned int Depends upon the type of the variable to which it is pointing. int No data type float unsigned int Depends upon the type of the variable to which it is pointing. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45445 54544 54554 45545 45445 54544 54554 45545 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 20 20 Run time error 10 10 10 20 20 20 Run time error 10 10 10 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} None of These 10 Garbage Value 1 None of These 10 Garbage Value 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Veda None of these Exam Exam\0Veda Exam Veda Veda None of these Exam Exam\0Veda Exam Veda ANSWER DOWNLOAD EXAMIANS APP