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} 10..50 0 10..10 Error 10..50 0 10..10 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg defg bcdefg efg cdefg fg defg bcdefg efg cdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming When a function is recursively called all the automatic variables are stored in a .......... Queue Array Register Linked list Stack Queue Array Register Linked list Stack ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These sizeof(i)=1 Compiler Error sizeof(i)=2 None of These sizeof(i)=1 Compiler Error sizeof(i)=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 0 0 0 Error garbage values 1 1 1 0 0 0 Error garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H Hello Some address will be printed None of these. H Hello Some address will be printed None of these. ANSWER DOWNLOAD EXAMIANS APP