C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 2 2 1 1 2 1 1 2 2 2 1 1 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 1 complier error 1 -1 1 -1 -1 1 -1 1 complier error 1 -1 1 -1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right II and III I and III II and IV I and II III and IV II and III I and III II and IV I and II III and IV 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 What is function? Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. All of these Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. All of these Function is the fundamental modular unit. A function is usually designed to perform a specific task. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 6 5 6 11 6 6 7 12 7 6 6 5 6 11 6 6 7 12 7 ANSWER DOWNLOAD EXAMIANS APP