Quiz on C Programming Language
In the world of technology and computers, nothing lasts for more than 50 years until and unless it is doing its job better than anything else. C programming was introduced to the world in the year 1972. It is still considered the most fundamental building block of the software-defined world. No other language has been able to replace what C provides.
The below quiz on C will help you gain a better understanding of this language and increase your area of knowledge in it.
0 of 20 questions completed
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 20 questions answered correctly
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
- Review / Skip
Which escape sequence in C represents an octal number?CorrectIncorrect
Which one of the following is a type of error in C?CorrectIncorrect
Arrays and pointers are –CorrectIncorrect
In call by reference in C –CorrectIncorrect
What is the output of the following code?
int abc = 12;
if (abc = 12)
printf(“It is twelve\n”);
printf(“It is not twelve\n”);
In which situation can a C static keyword be used?CorrectIncorrect
This is the syntax of –CorrectIncorrect
We use the goto statement in C when –CorrectIncorrect
Which of the following is not a part of the C tokens –CorrectIncorrect
Which concept in C allows the user to convert one data type into another?CorrectIncorrect
Which storage class’s storage place is not RAM?CorrectIncorrect
The output of the following code will be –
int a = 2, b = 0;
int c = (b++) ? b == 1 && a : 0;
A structure in C can be nested by –CorrectIncorrect
_______ function sets the file pointer at the beginning of a stream.CorrectIncorrect
The pointer that does not point to any of the memory locations is –CorrectIncorrect
Which format specifier is used for scientific notation?CorrectIncorrect
This is a function that allocates a single block of requested memory.CorrectIncorrect
The string function that returns the length of a string is –CorrectIncorrect
Which is a type of string literal in C?CorrectIncorrect
What will be the output of the following code?
const int a = 12;
int *pointer = &a;
*pointer = 22;
C is a general-purpose programming language that is very flexible, popular, and easy to learn.
The C language is widely used around the world for the development of programming languages, operating systems, network drivers, and more. It is also used for security purposes.
One of the greatest benefits of learning this language is that it offers you amazing opportunities to build your career around it. Even after the prevalence of other languages, C is still in demand. C is a very good language but in order to have a good career in it, one needs to be an expert in this.
We hope this quiz helped you understand the concepts of C in a better way.