C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 1 Error -2 2 1 Error -2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During linking During Preprocessing None of these During Execution During Editing During linking During Preprocessing None of these During Execution During Editing ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 8 Syntax error No output Runtime error 6 8 Syntax error No output Runtime error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 50 None of These Compiler Error 10 50 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} None of These 300 Error %d\n None of These 300 Error %d\n ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} None of These Garbage Value 10 1 None of These Garbage Value 10 1 ANSWER DOWNLOAD EXAMIANS APP