Thursday, October 30, 2025

C Language One Mark Question / Answer

Prepared By : Prof. Uday Shah (HOD - IT)


C Language One Mark Question / Answer 


  Fill in the Blanks (with Answers)

  • C language was developed by Dennis Ritchie.
  • C language was developed at Bell Labs.
  • C language was developed in the year 1972.
  • C is a structured programming language.
  • The collection of symbols used in C is called C Character Set.
  • Keywords are reserved words in C with predefined meanings.
  • The smallest individual unit in a program is called a token.
  • A sequence of characters enclosed in double quotes is called a string.
  • Identifiers are names given to variables, functions, or arrays.
  • Constants are fixed values that cannot be changed.
  • The symbol == is a comparison operator.
  • The precedence of *, /, % is higher than +, -.
  • Automatic conversion of one data type to another is called type conversion.
  • Conversion done by the user is called type casting.
  • #include is a preprocessor directive.
  • // is used for single-line comments.
  • A flowchart uses symbols to represent an algorithm.
  • A step-by-step problem-solving method is an algorithm.
  • A dry run is used to test a program manually without execution.
  • The file extension for C source files is .c.

True / False (with Answers)

  • C is a high-level language. — True
  • Keywords in C can be redefined. — False
  • main() function is compulsory. — True
  • Identifiers can start with a digit. — False
  • C supports both type conversion and type casting. — True
  • All operators have the same precedence. — False
  • Flowcharts are written using programming code. — False
  • Constants can be changed during execution. — False
  • /* … */ is used for multi-line comments. — True
  • #define defines symbolic constants. — True
  • Variable names are case-sensitive. — True
  • An algorithm is a graphical representation. — False
  • Strings end with \0 in C. — True
  • char stores more than one character. — False
  • C language is platform dependent. — True

Full Forms & Short Answers (with Answers)

  • ASCII stands for American Standard Code for Information Interchange.
  • IDE stands for Integrated Development Environment.
  • printf stands for print formatted.
  • scanf stands for scan formatted.
  • && operator is Logical AND.
  • || operator is Logical OR.
  • ! operator is Logical NOT.
  • %d prints an integer.
  • %f prints a float.
  • %c prints a character.
  • %s prints a string.
  • One logic development technique – Flowchart / Algorithm.
  • Building blocks of a C program – tokens.
  • Dry run means manually checking the logic without executing.
  • First step in program development – Problem Analysis / Algorithm Design.
:: Thank You ::