Basic Data Structures » Exercise - 15. What is the output of the following statement : printf (“%-3d”,12345); (A) 1 2 3 (B) -1 2 3 (C) 1 2 3 4 5 (D) 12
Basic Data Structures » Exercise - 19. A single character input from the keyboard can be obtained by using the function. (a) printf ( ) (b) scanf ( ) (c) putchar ( ) (d) getchar ( )
Basic Data Structures » Exercise - 12. A global variable is a variable : (a) declared in the main ( ) function. (b) declared in any function other than the main ( ) function. (c) declared outside the body of every function. (d) declared any where in the C program.
Basic Data Structures » Exercise - 18. If an integer needs two bytes of storage, then the maximum value of a signed integer is : (a) 216-1 (b) 215-1 (c) 216 (d) 215