1. What will be output What will be the output of following code
int main()
{
int i=5;
i++;
printf("%d",i);
return 0;
}
Explain:- The output will be 6 because i++ is used , ++ means value of I will be incremented by 1
2. Put() is used in C language for -----------
Explain:- In C language put() is used to print or display string on screen
3. Find error
#include
Explain:- variable I and j should be declared first and then we can use for operation
4. What will be output of below code
#include
Explain:- Output will be :Practice test/nAll the best here forward slash an n is used so next printf statements will not be displayed on next line
5. The syntax of for loop is
Explain:- The syntax of for loop is initialization;testcondition;increment/decrement
6. Do while loop is used in case when statement of loop is executed------
Explain:- do while loop is used to execute the statement once and then test condition is checked if test condition is true then iteration will takes place
7. -----statement is used to break the current block and jump to next block
Explain:- break statement is used to break the current statement or block and jump to next block
8. If statement inside if statement is called ------
Explain:- The if statement inside if statement is called nesting if statement
9. For loop is -------loop
Explain:- for loop is entry controlled / top tested loop
10. ----- is a symbol used to perform operation or task
Explain:- operator is a symbol which is used to perform task or operation
0 टिप्पण्या
कृपया तुमच्या प्रियजनांना लेख शेअर करा आणि तुमचा अभिप्राय जरूर नोंदवा. 🙏 🙏