C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 1 2 2 2 1 1 2 1 1 2 2 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 1 -2 Error 2 1 -2 Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Enter a number:99 Enter a number:99 Number is divisible by 5 complier error Run time error Enter a number:99 Enter a number:99 Number is divisible by 5 complier error Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} None of these 6 0 1 10 None of these 6 0 1 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); None of these 1 1 0 1 0 0 1 0 None of these 1 1 0 1 0 0 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of conditional compilation Takes care of include files All of these Takes care of macros Acts before compilation Takes care of conditional compilation Takes care of include files All of these Takes care of macros Acts before compilation ANSWER DOWNLOAD EXAMIANS APP