C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} None of These Error %d\n 300 None of These Error %d\n 300 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]){} void fun(int *p[][4]){} void fun(int *p[3][4]){} None of these void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[][4]){} void fun(int *p[3][4]){} None of these void fun(int p[][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to infinite -10 to -1 -10 to 0 Complier error -10 to infinite -10 to -1 -10 to 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int *p(char *)[] int (*p) (char *)[] None of these. int(*p(char *))[] int *p(char *)[] int (*p) (char *)[] None of these. int(*p(char *))[] ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 7 6 5 Compiler Error 0 7 6 5 Compiler Error 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() strstr() strrchr() None of these laststr() strnstr() strstr() strrchr() None of these laststr() ANSWER DOWNLOAD EXAMIANS APP