August 2013


What are the difference between global and local variables?

Global Variable Local Variable Global Variable is variable which is declared before main function. ...

Mushfiqur Rahman 2 Aug, 2013

In what ways does a switch statement differ from an IF statement?

Ans: The if statement is a conditional branch, a branch to other statements if a certain condition or set of conditions is met. The co...

Mushfiqur Rahman 2 Aug, 2013

What is the difference between ++m and m++?

Ans:       If the Increment operator has placed before the operand it Increment first and other operations later. Example: m=5      ...

Mushfiqur Rahman 2 Aug, 2013

Why shouldn’t these directives end with a semicolon?

Generally in c programming all the statements are end with semicolon for compiling. Headers are generally not compiled themselves but only...

Mushfiqur Rahman 2 Aug, 2013

What is the difference between --m and m--?

Ans:       If the decrement operator has placed before the operand it decrement first and other operations later. Example: m=5      ...

Mushfiqur Rahman 2 Aug, 2013