C Programming :: Declarations and Initializations
-
Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
-
What are the types of linkages?
-
Which of the following special symbol allowed in a variable name?
-
Size of short integer and long integer can be verified using the sizeof() operator.
-
Is there any difference between following declarations?
1 : extern int fun(); 2 : int fun(); -
How would you round off a value from 1.66 to 2.0?
-
Which of the following is not user defined data type?
1 : struct book { char name[10]; float price; int pages; };
2 : long int l = 2.35;
3 : enum day {Sun, Mon, Tue, Wed};
-
Is the following statement a declaration or definition?
extern int i; -
Identify which of the following are declarations
1 : extern int x; 2 : float square ( float x ) { ... } 3 : double pow(double, double);