[ad_1]
Check your knowledge and Programming Language skills through C Language Quiz. Candidates, who want to be Software Developer in IT company, must have knowledge about C Language. The acquaintance of the candidates will only increase to solve Online Test on regular basis.
On this page we have provided C Programming Questions & Answers (MCQ) and C Language Online Practice test. You can take help from Multiple Choice Questions (MCQs) related to C Programming Framework provided on this page.
C Programming Questions & Answers
C is the basic language to create many software errors free. Notwithstanding its low-level capabilities, the language was designed to embolden cross-platform programming. Well, Participants can enhance their knowledge on the concept of C Language with the help of C Language Online test.
Through this page, you can download C Language Quiz Questions and Answers in PDF file via online mode. For the purpose of obtaining detailed information regarding C Language Quiz, just scroll down this page which is created for you by the team of recruitmentresult.com.
C Language Quiz
Ques 1. How would you round off a value from 1.66 to 2.0?
- Ceil (1.66)
- floor (1.66)
- roundup (1.66)
- roundto (1.66)
Answer: 1
Ques 2.By default a real number is treated as a
- float
- double
- long double
- far double
Answer: 2
Ques 3.When we mention the prototype of a function?
- Defining
- Declaring
- Prototyping
- Calling
Answer: 2
Give Now: Computer Knowledge Online Quiz
Ques 4.Which of the following cannot be checked in a switch-case statement?
- Character
- Integer
- Float
- enum
Answer: 3
Ques 5. In mathematics and computer programming, which is the correct order of mathematical operators?
- Addition, Subtraction, Multiplication, Division
- Division, Multiplication, Addition, Subtraction
- Multiplication, Addition, Division, Subtraction
- Addition, Division, Modulus, Subtraction
Answer: 2
Ques 6.What are the different types of real data type in C ?
- float, double
- short int, double, long int
- float, double, long double
- double, long int, float
Answer: 3
Check Out: Computer Programming Questions
Ques 7.The binary equivalent of 5.375 is
- 101110111
- 011
- 101011
- None of above
Answer: 2
Ques 8.What will you do to treat the constant 3.14 as a float?
- use float(3.14f)
- use 3.14f
- use f(3.14)
- use (f)(3.14)
Answer: 2
Ques 9.In C, if you pass an array as an argument to a function, what actually gets passed?
- Value of elements in array
- First element of the array
- Base address of the array
- Address of the last element of array
Answer: 3
Read Also: Computer Memory Questions
Ques 10.What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array?
- The element will be set to 0.
- The compiler would report an error.
- The program may crash if some important data gets overwritten.
- The array size would appropriately grow.
Answer: 3
Ques11. When we mention the prototype of a function?
- Defining
- Declaring
- Prototyping
- Calling
Answer: 2
Ques12. By default a real number is treated as a
- Float
- Double
- Long double
- Far double
Answer: 2
Check Out: Computer Graphics Questions
Ques13. Is the following statement a declaration or definition? extern int i;
- Declaration
- Definition
- Function
- Error
Answer: 1
Ques14. What will you do to treat the constant 3.14 as a float?
- use float (3.14f)
- use 3.14f
- use f(3.14)
- use (f)(3.14)
Answer: 2
Ques15. In C, if you pass an array as an argument to a function, what actually gets passed?
- Value of elements in array
- First element of the array
- Base address of the array
- Address of the last element of array
Answer: 3
Check Out: Computer Hardware Questions & Answers
Ques16. What does the following declaration mean? int (*ptr)[10];
- ptr is array of pointers to 10 integers
- ptr is a pointer to an array of 10 integers
- ptr is an array of 10 integers
- ptr is an pointer to array
Answer: 2
Ques17. The keyword used to transfer control from a function back to the calling function is
- switch
- goto
- go back
- return
Answer: 4
Ques18. What do the following declaration signify? int (*pf)();
- pf is a pointer to function
- pf is a function pointer
- pf is a pointer to a function which return into
- pf is a function of pointer variable
Answer: 4
Must Check: Computer Science Questions And Answers
Ques19.Which bit wise operator is suitable for turning on a particular bit in a number?
- && operator
- & operator
- || operator
- | operator
Answer: 4
Ques20.In which numbering system cans the binary number 1011011111000101 be easily converted to?
- Decimal system
- Hexadecimal system
- Octal system
- No need to convert
Answer: 2
Brief Introduction to ‘C’ Language:
C language was formerly developed by Dennis Ritchie between 1969 and 1973 at Bell Laboratory and it was used to re-implement the UNIX operating system, and has since become one of the most widely used programming languages of all time. It is Easy to learn, structured language, it produces efficient programs, it can handle low-level activities, it can be compiled on a variety of computer platforms and Developer of Language was died in 2011 after a long illness.
Final Words:
Above listed C Language question and answers will clear your C Basics, Expression, control statement, loops in C, and functions etc in C concepts. So for enhancing your skills, you can take participate in C Language Online Quiz through our web portal. You can also join us on Facebook or Google plus to get latest updates on your timeline wall directly.
Something That You Should Put An Eye On
[ad_2]
No comments:
Post a Comment