Podcast
Questions and Answers
Which of the following is a correct data type in C programming language?
Which of the following is a correct data type in C programming language?
- decimal
- float (correct)
- real
- fraction
What is the purpose of 'void' in a function declaration in C programming language?
What is the purpose of 'void' in a function declaration in C programming language?
- Denotes an infinite loop
- Indicates that the function does not return a value (correct)
- Specifies that the function is a pointer
- Represents a large integer value
Which symbol is used for the 'address of' operator in C programming language?
Which symbol is used for the 'address of' operator in C programming language?
- & (correct)
- #
- *
- !
In C programming, what is the main difference between call by value and call by reference?
In C programming, what is the main difference between call by value and call by reference?
Which symbol is used to access the value pointed to by a pointer in C programming language?
Which symbol is used to access the value pointed to by a pointer in C programming language?
What is the result of the following C code snippet?
int x = 5;
int *p = &x;
printf("%d", *p);
What is the result of the following C code snippet? int x = 5; int *p = &x; printf("%d", *p);