Q. What are the new features of C11 or ISO IEC 9899 2011 standard?

  • (A) Type generic Macros, Static Assertions
  • (B) Multi Threading, Anonymous Unions, quick_exit
  • (C) Bounds Checking Interfaces, Anonymous Strurctures
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

Q. C language was invented in which laboratories?

  • (A) Uniliver Labs
  • (B) IBM Labs
  • (C) AT&T Bell Labs
  • (D) Verizon Labs
πŸ’¬ Discuss
βœ… Correct Answer: (C) AT&T Bell Labs

Q. BCPL Language is also called?

  • (A) C Language
  • (B) B Language
  • (C) D Language
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (D) None

Q. C language was invented to develop which Operating System?

  • (A) Android
  • (B) Linux
  • (C) Ubuntu
  • (D) Unix
πŸ’¬ Discuss
βœ… Correct Answer: (D) Unix

Q. C language was invented in the year?

  • (A) 1999
  • (B) 1978
  • (C) 1972
  • (D) 1990
πŸ’¬ Discuss
βœ… Correct Answer: (C) 1972

Q. C language is used in the development of ?

  • (A) Databases
  • (B) Graphic applications
  • (C) Word Processors
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

Q. C program is a combination of?

  • (A) Statements
  • (B) Functions
  • (C) Variables
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

Q. Choose correct answer..

Code:
#include<stdio.h>
main()
{
	/* Multi Line Comment
	This line is ignored by compiler
	*/
	printf("Hello C.."); 
}
  • (A) include is a Preprocessor Directive
  • (B) <stdio.h> is a header file with predefined functions like printf, scanf etc
  • (C) #include main() { } is a mandatory function to be included in every C Program.
  • (D) All the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All the above

Q. Correct way of commenting a single line is?

  • (A) /*printf("Hello C.."); printf("How are you.");
  • (B) //printf("Hello C.."); printf("How are you.");
  • (C) /*printf("Hello C.."); printf("How are you.");*/
  • (D) /printf("Hello C..");/ printf("How are you.");
πŸ’¬ Discuss
βœ… Correct Answer: (B) //printf("Hello C.."); printf("How are you.");

Q. Single Line Comment // is also called.?

  • (A) C++ Style Comment
  • (B) Java Style Comment
  • (C) PHP Style Comment
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above