1) Choose correct answer..
A) #include is a Preprocessor Directive
B) <stdio.h> is a header file with predefined functions like printf, scanf etc
C)
#include
main()
{
}
is a mandatory function to be included in every C Program.
D) All the above
A) /*printf("Hello C..");printf("How are you.");B) //printf("Hello C..");printf("How are you.");
C) /*printf("Hello C..");printf("How are you.");*/
D) /printf("Hello C..");/printf("How are you.");
A) C++ Style CommentB) Java Style CommentC) PHP Style CommentD) All the above
A) C Compiler converts your C program into machine readable language.B) C Editor allows you to type C Programs. It is just like a Notepad with extra options.C) Console shows the output of a C Program if it is text output.D) All the above
A) Name of a Function or VariableB) Name of a MacrosC) Name of Structure or UnionD) All the above.
A) Letters a-z, A-Z in Basic character set.Unicode alphabet characters other languagesB) Underscore _ symbolC) Numbers 0 to 9Unicode Numbers in other languagesD) All the above
A) 31B) 32C) 33D) 28
A) 32B) 63C) 64D) 68
A) AlphabetB) Underscore ( _ ) signC) Any character that can be typed on a keyboardD) Option A & Option B
A) Any Electronic device which works on some logic and Operating System.B) Washing machineC) Fridge, Microwave OvensD) All the above.
A) Primary ConstantsB) Secondary ConstantsC) Basic Constants and Advanced ConstantsD) Primary Constants and Secondary Constants
A) A constant value does not change.A variable value can change according to needs.
B) A constant can change its values.A variable can have one constant value only.
C) There is no restriction on number of values for constants or variables.
D) Constants and Variables can not be used in a singe main function.
A) 3.145B) 34C) "125"D) None of the above
A) 12.3E5B) 12e34C) 125.34857D) All the above.
A) 'A' , 'a'
B) '1' , '9'
C) '$' , '#'
D) All the above.
A) TRUEB) FALSEC) It depends on the place the variable is declared.D) None of the above.
A) int myage = 10;int my_age = 10;
B) int myage = 10;int my,age = 10;
C) int myage = 10;int my age = 10;
D) All are right
A) 32B) 34C) 62D) 64
A) Semicolon ;B) Colon :C) Period . (dot symbol)D) None of the above.