C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} Compiler Error None of These 50 10 Compiler Error None of These 50 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 4 2 2 3 3 2 3 3 4 2 4 2 2 3 3 2 3 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... File scope No scope at all Function scope Local scope Block scope File scope No scope at all Function scope Local scope Block scope ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 2 2 1 1 2 1 1 2 2 2 1 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? system() main() start() getch() printf() system() main() start() getch() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;printf("Enter your age:");scanf("%f", &age);AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("You have lived for %f seconds", AgeInSeconds);} Enter your age: xyz You have lived for 0.00000 seconds Run time error Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Run time error Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0 seconds ANSWER DOWNLOAD EXAMIANS APP