Tutorials
Source Code
Downloads
Books
Videos
News
Select Page
Tutorials
C Tutorials
C++ Tutorials
Source Code
Downloads
Books
Videos
News
Internet
Mobile Tech
Technology
Home
Blog
Topics
Sitemap
Basic C Programming Quiz
by
MYCPLUS
How much do you know about C Programming. Take this Quiz and prove you know basics about C Programming Language.
Question 1: Who is the the inventor of C programming language?
Facts about this question:
C is an imperative procedural language supporting structured programming, lexical variable scope, and recursion, with a static type system. (Wikipedia)
Options:
Dennis Ritchie
Bjarne Stroustrup
James Gosling
Guido Rossum
Question 2: When was C Programming Language developed?
Facts about this question:
More recent descendants of C proper include Concurrent C [Gehani 89], Objective C [Cox 86], C* [Thinking 90], and especially C++ [Stroustrup 86]. (Bell Labs)
Options:
1962
1972
1982
1992
Question 3: Which of the following basic Datatypes is not supported in C Programming Language?
Facts about this question:
Review this article for a list of
basic data types
.
Options:
int
char
float
string
Question 4: Can you compile and execute a C program in the absence of a main() function?
Facts about this question:
In most of today's popular programming languages and operating systems, a computer program usually only has a single entry point.
Options:
Yes
No
May Be
ADVERTISEMENT
Question 5: What is the name of '\0' character in C?
Facts about this question:
An escape sequence contains a backslash (\) symbol followed by one of the escape sequence characters or an octal or hexadecimal number.
Options:
New Line Character
Null Character
End of Line Character
Vertical Tab Character
Question 6: What comes to your mind by the term "Dynamic Memory" allocation?
Facts about this question:
Memory allocation is the process of reserving a partial or complete portion of computer memory for the execution of programs and processes.
Options:
sprintf()
main()
malloc()
rand()
Question 7: Which of the following statements is more efficient?
Options:
i=i+1;
i++;
Question 8: When a pointer is pointing a memory location which is deleted by another pointer while the first pointer still points to that specific memory location, the first pointer will be known as:
Options:
Double Pointer
Null Pointer
Dangling Pointer
Smart Pointer
ADVERTISEMENT
Question 9: What is the output of the statement: if(printf("Hello World")){}
Options:
Compiler Error
Runtime Error
Hello World
No Output
Question 10: Identify incorrect operator in the following list?
Options:
==
<=
<>
>=
WHAT IS YOUR SCORE??
Please fill out your details to find out your score.
*
indicates required
Email Address
*
First Name
Last Name