1. C is a ________________ programming language.
Answer: Procedural
A procedural language is a type of programming language that uses a sequential, step-by-step approach to solve problems. In a procedural language, a series of instructions, or procedures, are written to achieve a desired outcome.
2. C programming language was developed by ___________.
Answer: Dennis Ritchie
3. Father of C language _____.
Answer: Dennis Ritchie
4. C programming was developed at _______________.
Answer: Bell Laboratories
5. C was developed in _____.
Answer: 1972
6. stdio.h is header files for _______________.
Answer: Standard Input Output (I/O)
7. Execution of a C program starts from _______.
Answer: main().
8. Every C program begins execution at the function ___.
Answer: main()
9. Every C Program should contain _____________ function.
Answer: main()
10. Every statement in a C program has to end with _____.
Answer: semi-colon.
11. _________ is the extension of C source file.
Answer: .C
12. A single line comment in C language source code can begin with ________.
Answer: //
13. The escape sequence \n represents the __________ character, which causes the cursor to position to the beginning of the next line on the screen.
Answer: newline
14. C is a _________ sensitive language.
Answer: case
15. __________ is also called as reserved word.
Answer: Keywords
16. All keywords must be written in __________
Answer: lower case
17. _____ keywords are there in C language.
Answer: 32
18. Header file ___________ should be included for input/output functions in C.
Answer: stdio.h
19. In C language, programmers can create custom header files that must end with a ___________
Answer: .h extension
20. The_________ standard library function displays information on the screen.
Answer: printf()
21. _______ is used to take input from the user.
Answer: scanf()
22. C provides __________ to input functions.
Answer: scanf()
23. The_________ Standard Library function is used to obtain data from the keyboard.
Answer: scanf()
24. The scanf() is a predefined function in _________ header file.
Answer: stdio.h
25. Used to clear the output screen ___________
Answer: clrscr()
26. To indicate address location the ______ operator is used.
Answer: &
27. An ampersand (&) before the name of a variable denotes the ___________ of the variable.
Answer: address
28. ____________ is used to store a value.
Answer: variables
29. ________ is a storage location, which stores a value or information.
Answer: Variable
30. A variable name in the C language may consist of letters, numbers and ______
Answer: underscore (_)
31. _______ data type is used to represent a single character in C.
Answer: char
32. A printf format control string must be enclosed in __________
Answer: double quotation marks (“)
33. The format specifier _________ is used in a scanf format control string to indicate that an integer will be input and in a printf format control string to indicate that an integer will be output.
Answer: %d
34. In C language, the _______ format specifier is used to read a single character from the standard input.
Answer: %c
35. A floating-point value always contains a __________.
Answer: decimal point
Ans: 4
37. A string constant in a C program is a sequence of __________ enclosed in double quotes. (“ ”)
Answer: character
38. Long int format specifier ____________
Answer: %ld
39. In C programming, ‘++’ is __________________operator.
Answer: increment
40. ___________ is used to increment the value of a variable in an expression by 1.
Answer: increment operator, ++
41. _______ symbol is used for the ‘modulo’ operator in C.
Answer: %
42. ______ operator gives remainder after division.
Answer: modulus operator (%)
Answer: = =
Answer: Conditional operator
Answer: if
46. Multiple values of the same variable can be tested using ___________
Answer: switch-case
Answer: break
48. For loop is ________ loop.
Answer: entry controlled
Answer: break
50. The ___________ statement is used to skip the rest of the statements in a loop and continue with the next iteration.
Answer: continue
51. _______ is exit-controlled loop.
Answer: do-while
52. The do-while loop is useful when we want the statement inside the loop to be executed _____________
Answer: at least once
53. Array index always starts from _________.
Answer: zero (0)
Answer: Square brackets [ ]
55. strcpy() function is defined in ________ header file.
Answer: string.h
Ny weekly I just like the helpful information you provide in your articles
SocialMediaGirls This is my first time pay a quick visit at here and i am really happy to read everthing at one place
Mating Press I truly appreciate your technique of writing a blog. I added it to my bookmark site list and will
Thinker Pedia I do not even understand how I ended up here, but I assumed this publish used to be great