C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Hello Some address will be printed H None of these. Hello Some address will be printed H None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} None of These Compiler Error mmm nnn aaa mmmm nnnn aaaa None of These Compiler Error mmm nnn aaa mmmm nnnn aaaa ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... The number of successful read input values. The actual values read for each argument. ASCII value of the input read. 1 0 The number of successful read input values. The actual values read for each argument. ASCII value of the input read. 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 Garbage vlaue Garbage Value Garbage value 0 Code will not compile 0 Garbage Value 0 0 Garbage vlaue Garbage Value Garbage value 0 Code will not compile 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 13, 13, 24, 13 50, 13, 24, 50 50, 13, 24, 13 13, 10, 24, 50 50, 13, 11, 13 13, 13, 24, 13 50, 13, 24, 50 50, 13, 24, 13 13, 10, 24, 50 ANSWER DOWNLOAD EXAMIANS APP