C Programming
CONTROL INSTRUCTIONS MCQs
Total Questions : 30
Page 1 of 3 pages6 is int constant.
6.68 is double.
6.68L is long double constant.
6.68f is float constant.
We can do this in following switchstat ement
switch(a) { case 2: case 3: case 4: /* some statements */ break; case 5: case 6: case 7: /* some statements */ break; }Yes, we can store either an ASCII character or a Unicode character in a char variable.
continue can work only with loops and not with switch
The cases in a switch must either have integer constants or constant expressions.
fmod(x,y) - Calculates x modulo y, the remainder of x/y.
This function is the same as the modulus operator. But fmod() performs
floating point or long doubledivisions.
No answer description available for this question.
No, the carriage return tells the compiler to read the input from the buffer after
ENTER key is pressed.
Which of the following sentences are correct about a switch loop in a C program?
1:switch is useful when we wish to check the value of variable against a particular set of values.
2:switch is useful when we wish to check whether a value falls in different ranges.
3:Compiler implements a jump table for cases used in switch.
4:It is not necessary to use a break in every switch statement.
The basic C compiler is 16 bit compiler, below are the size of it's data types
The size of short int is 2 bytes wide(16 bits).
The size of long int is 4 bytes wide(32 bits).
Recent Questions
Q. DIVA:OPERA
Q. All Computers Must Have __________
Q. Which Of The Following Statements Are Correct With Regard To....
Q. (solve As Per The Direction Given Above)
Q. Deficiency Of 'Thiamine' Causes
Q. In Each Question Below A Sentence Broken Into Four Or Five P....
Q. IRS 1A And 1B Satellites Can Carry Which Of The Following Se....
Q. ....
Q. For A Dc Machine Shunt Resistance And Armature Resistance Va....
Q. ....
Q. Who Among The Following Was The First English Man To Visit W....
Q. Find The Correctly Spelt Word
Q. The Color Of Fluorine Is
Q. Rashi Went toy Shopping With Her Mother And Saw A Toy ....
Q. The Process Partially Responsible For The Life On Earth Is
Q. What Is The Place Of The Indian Men's Cricket Team In The La....
Q. ....
Q. Match The Following: 1. Nishka (i) Later Vedic Coi....
Q. Which Fertiliser Is Made (using Coke Oven Gas) In By Product....
Q. ....