C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 2 2 2 2 1 1 1 1 2 2 2 2 1 1 1 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 0 100 5 0 100 100 100 100 5 0 20 100 5 100 100 0 100 5 0 100 100 100 100 5 0 20 100 5 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values 0 0 0 Error 1 1 1 garbage values 0 0 0 Error 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 0 10..10 10..50 Error 0 10..10 10..50 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); Infinite loop 10 11 12 13 14 15 None of these 9 10 11 12 13 10 11 12 13 14 Infinite loop 10 11 12 13 14 15 None of these 9 10 11 12 13 10 11 12 13 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 0 14 1 10 0 14 1 10 ANSWER DOWNLOAD EXAMIANS APP