C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 1 no error no output 0 complier error 1 no error no output 0 complier error ANSWER DOWNLOAD EXAMIANS APP
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..50 10..10 0 Error 10..50 10..10 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi followed by garbage value hi h Garbage Value Error hi followed by garbage value hi h Garbage Value Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? int char real float double int char real float double ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? None of these strstr() strnset() strrchr() strchr() None of these strstr() strnset() strrchr() strchr() 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);} will print garbage value None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World ANSWER DOWNLOAD EXAMIANS APP