✔ C-LANGUAGE CHAPTERS:-
1. C-Introduction
2. C-Constants
3. C-Basic Programs
4. C-Instructors
5. C-Operators
6. C-If Else Statement
7. C-Loop Contructs
8. C-Nesting Of Loops
9. C-Programming Examples
10. C-Functions
11. C-Functions Naming Convention
12. C-Pointers
13. C-Arrays
14. C-Arrays & Functions
15. C-Strings
16. C-Structures
17. C-Union
18. C-Storage Classes
19. C-PreProcessor
20. C-Header Files
21. C-R/W one Line
22. C-Accessing Random File
23. C-Important Point
24. C-Interview Questions
1. C-Introduction
2. C-Constants
3. C-Basic Programs
4. C-Instructors
5. C-Operators
6. C-If Else Statement
7. C-Loop Contructs
8. C-Nesting Of Loops
9. C-Programming Examples
10. C-Functions
11. C-Functions Naming Convention
12. C-Pointers
13. C-Arrays
14. C-Arrays & Functions
15. C-Strings
16. C-Structures
17. C-Union
18. C-Storage Classes
19. C-PreProcessor
20. C-Header Files
21. C-R/W one Line
22. C-Accessing Random File
23. C-Important Point
24. C-Interview Questions
- Who created ‘C’ language or C programming Language?
A: Dennis M. Ritchie.
- What is an algorithms?
A: Step by step solution of a problem or in other words set of direction that defines a solution.
- What is difference between testing and debugging .
A: Detecting and correcting errors is called debugging. And process which makes sure that program is working correctly by giving some inputs is known as testing .
- What is compiler ?
A: A program which translates a high level language into machine language.
- What is syntax error ?
A: An error that can be pointed out by the compiler itself.
- What is flowchart?
A: A graphical representation of a program’s solution .
- After execution what will be the extension of a file?
A: .exe
- Is natural 1 a integer number ?
A: Yes.
- What is default data type of main( ).
A: int.
- Is ‘void’ a datatype ?
A: Yes
- Where “short int “ is used for variables?
A: "short int" is used where a variable which requires less storage than normal integer value.
- What would be the value of sum program?
{
int sum;
float n1, n2;
n1=245.05;
n2=40.02;
sum=n1+n2;
}
A: 285 (no decimal)
A: 285 (no decimal)
- Which function is more suitable for reading in multiword string ??
A: gets( )
- If ans=7, and result=++ans, then what will be value of ans and result ?
A: ans=7 result=8
- Isgetchar( ) a library function ?
A: Yes.
- Is this compulsory to assign value to static variable ?
A: Yes.
- What will be result of two variables containing a integer and real(float) variables.?
A: real.
- What is token ?
A: The smallest individual unit of program.
- Which statement of program is executed first.
A: main( ).
- What does exit( ) function do ?
A: This function causes an exit from the function.
- What is array ?
A: A collection of similar data type.
- What is difference between character and string?
A: Character can be single letter, digit or symbol enclosed in single quotes [‘ ‘] while string is sequence or collection of characters and enclosed in double quotes [“ “].
- What is difference between ++num and num++ statement ?
A: “++num” is before the variable is incremented by 1 before it is used in expression while “num++” statement is expression evaluated first then variable is incremented.
- ‘struct’ is keyword in ‘c’ ?
A: Yes
- “%i” is format specifier. Tell the datatype for which it is used ?
A: for integer
- Can variable be both constant and volite?
A: Yes
- atoi( ) is macro or function ?
A: macro.
- What is ASCII value for ‘A’ and ‘a’.
A: A=65 and a=97
- What is command argument in C Programming?
A: Argument which are passed in main( ) are called command argument.
- What is the easiest way to pass array as argument to function?
A: call by reference
--------------------------------End of C-Tutorials-------------------------------------------------------------
C-Important Points: Previous Learn C-PlusPlus
--------------------------------End of C-Tutorials-------------------------------------------------------------
C-Important Points: Previous Learn C-PlusPlus