Home > Software Engineering > Quizzes > Programming for Problem Solving Practice Test (Using C Language)
Programming for Problem Solving Practice Test (Using C Language)
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 24% Most missed: “Will compiler produce any compilation error if same header file is included two …”

Problem solving in programming  can be divided into four steps:

Analysing the problem
Developing the algorithm
Coding
Testing and debugging

Programming for Problem Solving Practice Test (Using C Language)
Time left 00:00
25 Questions

1. Int Main()
{
Extern Int I;
I = 20;
Printf('%D', Sizeof(I));
Return 0;
}
2. How many loops are there in C
3. What is output of below program? int main()
{ int i,j; for(i = 0,j=0;i<5;i++)
{ printf('%d%d..',i,j);
} return 0;
}
4. What is right way to Initialization array?
5. Address stored in the pointer variable is of type __________.
6. What is output of below program? int main()
{ int i; for(i=0; i<5; ++i++)
{ printf('Hello');
} return 0;
}
7. What is maximum dimension that array can have in c programming?
8. Which Committee Standardize C Programming Language?
9. Int Main()
{
Int X = 10;
{
Int X = 0;
Printf('%D',X);
}
Return 0;
}
10. Set of consecutive memory locations is called as ________.
11. #include 'stdio.h' int main()
{ int a = 10; printf('%d', a); int a = 20; printf('%d',a); return 0;
}
12. What is the following is invalid header file in C?
13. The Compiler In C Ignores All Text Till The End Of Line Using
14. Int Main()
{
Int A = 10.5;
Printf('%D',A);
Return 0;
}
15. #include 'stdio.h' int main()
{ int a = 10, b = 20; if(a=b)
{ printf('Easy');
} else
{ printf('Hard');
} return 0;
}
16. In Array, There is one to one correspondence between set of ________ and set of values.
17. Bitwise Operators Can Operate Upon?
18. Which one of the following is invalid macro in C programming?
19. What should be the output of below program?
#define # @
@include 'stdio.h' int main()
{ printf('C.com'); return 0;
}
20. Is The Following Statement A Declaration Or Definition Extern Int I;
21. Which statement is used to compare the two strings?
22. Int Main()
{
Int _ = 10;
Int __ = 20;
Int ___ = _ + __;
Printf('__%D',___);
Return 0;
}
23. C is a ____________________ language
24. C Programming Was Created At ______ By Dennis Ritchie.
25. Which Of The Following Shows The Correct Hierarchy Of Arithmetic Operations In C