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} Error 10..10 10..50 0 Error 10..10 10..50 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming C programs are converted into machine language with the help of An operating system None of these. An Editor A compiler An operating system None of these. An Editor A compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} None of these 0 6 5 Garbage Value None of these 0 6 5 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} c Error 65 A c Error 65 A ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 1 1 1 2 2 1 2 2 1 1 1 2 2 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 None of These Garbage Value 1 10 None of These Garbage Value 1 ANSWER DOWNLOAD EXAMIANS APP