Fill in The Blanks (CS) 1

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Fill in the blanks

1. Type casting refers to the conversion of data from one form to


another form
2. In ‘c’ program every statement ends with semi colon (;)
3. example for unconditional jump statement : goto and continue
statement.
4. Break keyword is used to terminate the loop (or) exit from the block
5. ‘c’ program execution begins with main() function
6. Getch function is used to read a single character
7. Islower function checks if alphabets lowers case or not
8. Isupper function checks if alphabets upper case letters or not
9. ‘\0’ is a null function
10. The string termination character is ‘\0’
11. \(backslash) symbol is used to start and escape
12. to compile a ‘c’ language program, press Alt+f9
13. to run a ‘c’ language program, press Ctrl+f9
14. to save a ‘c’ language program, press f2
15. a character variable can store single character at a time
16. examples for jump statements : break, continue,goto
17. example for iterative: while, do while, for
18. examples for selection/ branching statements: if , if else, switch,
if else if
19. the numbers of keywords available in c language are 32
20. the output statement in c language is printf()
21. The input statement in c language is scanf()
22. full form of IDE is integrated development environment
23. constant is an entity that does not change
24. variable is a named memory location
25. the format specifier of integer is %d
26. the format specifier of float is %f
27. the format specifier of character is %c
28. the format specifier of string Is %s
29. the escape sequence for a new line is \n
30. conditional operator is also called terniary operator
31. symbol for conditional operator is ?
32. exit controlled loop do while loop
33. entry controlled loop while loop
34. father of ‘c’ language is Dennis ritche
35. keywords or reserved words with special significance and pre
defined meaning
36. the c pre processors are specified with # symbol
37. If the function returns no value then it is called void function
38. In arrays, the subscript is always positive integer
39. In do while structure , the condition is checked at the end of the
loop
40. the variables that are both alive and active throughout the
entire program are called global variables
41. the address of a variable can be obtained by using &(amperand)
operator
42. the size of int data type is 4 bytes
43. the size of char data type is 1 bytes

2
44. the size of float data type is 4 bytes
45. the size of void data type is 0 bytes
46. The strlen( ) function is used to find the length of a string.
47. The strupr() function is used to convert a string to upper case.
48. The strlwr( ) function is used to convert a string to Lower case.
49. The strcat() function is used to add/join two strings.
50. The deterrence operator is used to access the value stored at a
particular address in memory
51. The size of operator is used to determine the size in bytes of a
data type or a variable
52. The equality operator is used to compare two values and
returns true if they are equal
53. The increment operator increments the value of a variable by 1
54. The break statement is used to exit a loop prematurely when a
certain iteration of a loop and continue with next iteration
55. The return statement is used to exit from a function and
optionally return a value to the caller
56. The continue function is used to skip the current iteration of a
loop and continue with next iteration
57. The exit function is used to terminate a program immediately
and can pass an exit status to the operating system

You might also like