WebFeb 19, 2015 · 3. Which of the following statement is correct about the code snippet given below? num = 5; printf( “%d”, ++num++ ); a) The code will print 5 b) The code will print 6 c) The code will result in L – value required d) The code will result in R – value required View Answer / Hide Answer WebThis is correct. Representation of k2 in given program is : union a K2 = {1,2 3}; K2 is declared as char type. But it is taking the int values so, it cannot be initialized as shown. Statement …
extern const in c++ - Stack Overflow
Weba) x is a pointer to a string, y is a string. b) y is a pointer to a string, x is a string. c) both x and y are pointers to string types. d) y is a pointer to a string. View Answer. 4. Which one of … WebMay 20, 2024 · Output of the program below is. int i; main( ) { printf(“%d”, i); } B) 0. 10. What will be the output of the following program? main( ) { int i=5; printf(“%d”, i=++i==6); } D) 1. Read Next: Objective Type Questions in C Programming Language set-6. C & CPP Multiple Choice Question (MCQ) 1. dmv fontana foothill
C Operators MCQs
WebOct 6, 2014 · C Storage Classes - placement questions answers. 1. Longevity of a variable refers to. a) The duration for which the variable retains a given value during the execution of a program. b) The portion of a program in which the variable may be visible. c) Internal linkage of a variable. d) External linkage of a variable. View Answer / Hide Answer. 2. WebOct 21, 2024 · A. Functions can return any type. B. Functions can return any type except array and functions. C. Functions can return any type except array, functions and union. D. Functions can return any type except array, functions, function pointer and union. C Functions 50 C Language MCQs with Answers. WebNote carefully that in the sample program shown below, it is the assignment statement which changes the value of y in the main program, not the function. ... int a; extern int b; static int c; void f( int d, register int e ) { auto int g; int h; static int i; … cream of coconut for pina colada