Variables in C Programming (original) (raw)

Which of the following is the correct way to declare an integer variable in C?

What is the default value of a local variable in C?

What is the scope of a variable declared inside a function?

Which data type would you use to store a single character in C?

Which of the following statements is true about global variables?

What happens if you use an undeclared variable in C?

What will be the value of a in the end?

C `

int a = 5; int b = a; b = 10;

`

Which variable will have the highest scope?

Which keyword tells the compiler to look for a variable’s definition elsewhere?

There are 13 questions to complete.

Take a part in the ongoing discussion