Note : All the programs are tested under Turbo C/C++ compilers. It is assumed that, Programs run under DOS environment. Program is compiled using Turbo C/C++ compiler. The program output may depend on the information based on this assumptions (for example sizeof(int) == 2 may be assumed).

Read More »

Looping questions and answers with explanation for written test exam and interview in c programming language. Following are the some basic tricky questions in C language.  What will be output of following c code? #include<stdio.h> extern int x;

Read More »

Switch statement is a substitute for long if statements that compare a variable to several “integral” values (“integral” values are simply values that can be expressed as an integer, such as the value of a char). The value of the variable given into switch is compared to the value following each of the cases, and […]

Read More »

C language also helps you to use an if statement within other if statement. This is refer as Nested If statement. It is a conditional statement which is used when we want to check more than one conditions at a time in a same program. The conditions are executed from top to bottom checking each […]

Read More »

Home | Contact Us | Sitemap