C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? No data type int Depends upon the type of the variable to which it is pointing. float unsigned int No data type int Depends upon the type of the variable to which it is pointing. float unsigned int ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } Runtime error Syntax error 4 4 5 6 7 1 2 3 4 Runtime error Syntax error 4 4 5 6 7 1 2 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Need not contain any function. None of these Must contain at least one function. Needs input data. Need not contain any function. None of these Must contain at least one function. Needs input data. ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 0 1 The number of successful read input values. ASCII value of the input read. The actual values read for each argument. 0 1 The number of successful read input values. ASCII value of the input read. The actual values read for each argument. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 5 100 5 0 100 5 0 20 100 100 100 100 0 100 100 5 100 5 0 100 5 0 20 100 100 100 100 0 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[][4]){} None of these void fun(int *p[4]){} void fun(int p[][4]){} void fun(int *p[3][4]){} void fun(int *p[][4]){} None of these void fun(int *p[4]){} void fun(int p[][4]){} void fun(int *p[3][4]){} ANSWER DOWNLOAD EXAMIANS APP