- Define Constant.
- Write any two rules for Naming variable.
- Define Expression.
- Differentiate between =´a` and =a.
- what is meant by Associativity of Operators?
- Difference between declaring and defining a variable.
- What is the value of Y after the following code executes:
- Give some example of valid variable names.
- Describe variable declaration.
- Define character constant.
- Trace the error.
Int a=6
++a;
printf(´´%f`, a)
- Define comments in C.
- Distinguish between a constant and a variable.
- What is compound assignment operator?
- Define increment decrement operators.
- What is the use of AND operator?
- Trace the Output
int x=0;
x=--number;
printf(´´%d``,x);
- what happen when arithmetic under flow occurs?
- Define variable.
- Find the error in the following code:
{
Intx,y,z
z=x+y+z
}
- Identify the error in the following lines.
Float B=5;
int C=A+B;
- Describe the identifier.
- Trace the error in the following code:
x=x++
y=++y;
printf(´´%d %d``, x,y);
- predict the output of the following code:
++number;
printf(´´%d\n``,number);
- differentiate beween string constant and character constant.
- List any four types of integer data in C-Language.
- Differentiate between implicit and explicit type casting.
- Predict the output of the following
{
int x=1;
x++;
printf(´´%d```,x);
}
- Define keywords.
- What do you mean by assignment operator?
- List two types of identifier in C.
- how are characters stored?
- Why is it important to assign a data type?
- What is statement terminator?
- Write the use of turbo c++?
- Naming data type use to store real data type?
- Write a shortcut key to run.
- Write legal character for identifier?
- Why does integer overflow occurs?
- Find the error.
{
Int c=7
printf(´´%d``, c:
}
- write the use of operators.
- What is the use of assignment statement?
- Differentiate between unary and binary operators.
- List four keywords in C language.
- Write about data types in C.
- how does cancellation error occur?
- Describe variable initializtion.
- What is garbage value.
- Find errors of C code:
printf(´´sum;´´a+b)
0 Comments