C Programming Oral
C Programming Oral
in
Ans :: A variable is a name of the memory location. It is used to store data. Its value can be changed, and
it can be reused many times.
2. What is constant?
Ans:: A constant is a name given to the variable whose values can't be altered or changed
Ans:: getch(), getche(), getchar(), gets(), puts(), putchar() etc. are examples of unformatted input output
functions.
Ans:: printf() and scanf() are examples for formatted input and output functions.
if(condition) {
//Nested if else inside the body of "if"
if(condition2) {
//Statements inside the body of nested "if"
}
else {
//Statements inside the body of nested "else"
}
}
else {
//Statements inside the body of "else"
}
Ans::
datatype array_name[size];