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 Error 10..50 10..10 0 Error 10..50 10..10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? Dennis Ritchie Dr. Gosling F. Codd James Bjarne Stroustrup Dennis Ritchie Dr. Gosling F. Codd James Bjarne Stroustrup ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 10 Error None of these. 0.000000 10 Error None of these. 0.000000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? main register auto case default main register auto case default 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 efg cdefg bcdefg fg defg efg cdefg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compilation Error will print garbage value will print Hello World None of these. Compilation Error will print garbage value will print Hello World None of these. ANSWER DOWNLOAD EXAMIANS APP