0% found this document useful (0 votes)
28 views2 pages

Q1.What Is An Identifier? Q2.What Is Constant? Q3.What Is Keyword?

This document contains 47 questions about fundamental concepts in C programming. It asks about identifiers, constants, keywords, data types, operators, control flow statements like if/else and loops, functions, arrays, pointers, structures, files, and more. Many questions ask about differentiating between related concepts or ask for examples to illustrate a concept. The broad range of topics covered provides an overview of much of the core syntax and programming concepts in the C language.

Uploaded by

Simranjeet Kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views2 pages

Q1.What Is An Identifier? Q2.What Is Constant? Q3.What Is Keyword?

This document contains 47 questions about fundamental concepts in C programming. It asks about identifiers, constants, keywords, data types, operators, control flow statements like if/else and loops, functions, arrays, pointers, structures, files, and more. Many questions ask about differentiating between related concepts or ask for examples to illustrate a concept. The broad range of topics covered provides an overview of much of the core syntax and programming concepts in the C language.

Uploaded by

Simranjeet Kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Q1.What is an identifier?

Q2.What is constant?
Q3.What is keyword?
Q4.Differentiate between the following with syntax:
1)implicit and explicit conversion
2)while and do while loop
3)Assembler,compiler,Interpreter
4)what is switch case?how is it different from if else?
5)continue,break,goto
6)structure and union
7)function?call by value and call by reference
8)What is datatype?difference between user defined and built in datatype.Give example
9)structure and array
10)POINTER TO an array and array of pointers
11)local variable and gloabal variable
12)extern,register,auto and static specifiers
13)Single line and multiline comment.
14)Declaration and definition of variable
15)binary file and text file
16)getch(),getchar(),getche(),getw(),gets()
17)putchar(),puts(),putw()
18)post increment /decrement and pre increment/decrement(a++ and ++a)
19)read() and write() in file
20)different types of operators in c eg:relational,logical,bitwise,unary,binary etc.
21)Single dimeansion array and multi-dimension array
22)malloc and calloc in c
Q23.Who developed c?
Q24.c is which type of language-high level,low level or middle level.Explain why?
Q25.What is # in header file #include<stdio.h> or what is preprocessor directive?
Q26.What is header file?Why do you include them in program?
Q27.What are jump statements?
Q28.What is meant by structured programming?
Q29.what is an array?how is it different from variable?
Q30.what is a pointer?what are its advantages and disadvantages?
Q31.What is enum?
Q32.What is function prototype?
Q33.What is keyword?give example.
Q34.What is static data member?
Q35.How is data conversion implemented in c?
Q36.What are escape sequences?
Q37.How many values can a function return?
Q38.what is a file?what are the various modes in which file can be opened?
Q39.what is void?
Q40.What is main() in c?
Q41.What is eof(),strcpy(),strcat(),exit().What are the header files used for them?
Q42.What is getch() ?why is it used?
Q43.how many bytes do the following take in memory?
Int,float,double,char
Q44.what is recursion?
Q45.what is conditional compilation?give examples.
Q46.What is ternary operator or conditional operator?give example.
Q47.What is data type?explain with example.

You might also like