CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions OneStopTesting.com - Testing EBooks, Tutorials, Articles, Jobs, Training Institutes etc.
OneStopGate.com - Gate EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopMBA.com - MBA EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopIAS.com - IAS EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopSAP.com - SAP EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopGRE.com - of GRE EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.

Sponsored Links

Interview Questions
Our Services



Advertisements C Interview Questions
COOLINTERVIEW.COM PROGRAMMING LANGUAGES INTERVIEW QUESTIONS C INTERVIEW QUESTIONS QUESTIONS LISTING

C Interview Questions & Answers

Below we have listed all the C Interview Questions and answers. Feel free to comment on any C Interview Questions or answer by the comment feature available on the page.

To buy an eBook containing 30,000 Interview Questions, with Answers, Click Here.


C Interview Questions & Answers

C is a high-level and general purpose programming language that is ideal for developing firmware or portable applications. Originally intended for writing system software, C was developed at Bell Labs by Dennis Ritchie for the Unix Operating System (OS) in the early 1970s. With the increasing popularity of object-oriented programming, C is being rapidly replaced as "the" programming language by C++, a superset of the C language that uses an entirely different set of programming concepts, and by Java, a language similar to but simpler than C++, that was designed for use in distributed networks.

Subcategories for C Interview Questions & Answers :-

Following are sub categories for which Interview Questions & Answers are available under C Interview Questions & Answers. Please select the appropriate sub-category:-

Arrays in C Interview Questions & Answers (18)

Branches & Loops in C Interview Questions & Answers (22)

C Basics Interview Questions & Answers (92)

Dynamic Memory Allocation in C Interview Questions & Answers (21)

File Operations in C Interview Questions & Answers (16)

Functions in C Interview Questions & Answers (59)

Operators in C Interview Questions & Answers (22)

Pointers in C Interview Questions & Answers (43)

Strings in C Interview Questions & Answers (32)

Structures in C Interview Questions & Answers (39)

Variables in C Interview Questions & Answers (38)

1 2 3 4 5 6 7 8 Next

Sort By : Latest First | Oldest First | By Rating

Question
Rating
View Answer
void main()
{
float a= 0.7;
if (a < 0.7)
printf("c");
else
printf("c++");
}
Output of the above program is c. Why? Whereas the same program with 0.8 instead of 0.7 gives c++ as the output? Why explain?
3.9 Rating
View Answer
What is page thrashing?
3.6 Rating
View Answer
main()
{
extern int i;
i=20;
printf("%d",i);
}


4.1 Rating
View Answer
main()
{
if (!(1&&0))
{
printf("OK I am done.");
}
else
{
printf("OK I am gone.");
}
}


4.1 Rating
View Answer
#define SQR(x) x * x
main()
{
printf("%d", 225/SQR(15));
}


4.2 Rating
View Answer
What are enumerations?
3.5 Rating
View Answer
How to find GCD of four numbers?
3.8 Rating
View Answer
To which numbering system can the binary number 1101100100111100 be easily converted to?
3.6 Rating
View Answer
Write a program to remove comment lines and blank lines from an error free c program.
3.1 Rating
View Answer
When should the register modifier be used? Does it really help?
3.0 Rating
View Answer
What is a default TCP/IP socket assigned for SQL Server?
2.9 Rating
View Answer
When should a type cast be used?
3.6 Rating
View Answer
What is difference between the test effort and the test procedure?
3.0 Rating
View Answer
If the following program (myprog) is run from the command line as myprog monday tuesday wednesday thursday
What would be the output?

main(int argc, char *argv[])
{
while(--argc >0)
printf("%s",*++argv);
}




4.9 Rating
View Answer
main()
{
int i=3;
switch(i)
{
default:printf("zero");
case 1: printf("one");
break;
case 2:printf("two");
break;
case 3: printf("three");
break;
}
}


5.0 Rating
View Answer
main()
{
int x=5;
clrscr();
for(;x==0;x--) {
printf("x=%dn?", x--);
}
}


4.9 Rating
View Answer
What will be the output of the following program in UNIX OS with CC compiler and TC compiler?

int main()
{
int i=5;
printf(" %d",++i + ++i + ++i + ++i + ++i );
}
If any difference then Why it is difference?


4.4 Rating
View Answer
The program that outputs the given binary or image file
3.0 Rating
View Answer
main()
{
char *p;
printf("%d %d ",sizeof(*p),sizeof(p));
}
4.6 Rating
View Answer
#include<conio.h>
main()
{
int x,y=2,z,a;
if(x=y%2) z=2;
a=2;
printf("%d %d ",z,x);
}
3.8 Rating
View Answer

1 2 3 4 5 6 7 8 Next




User Options
India News Network

Latest 20 Questions
Is the anti-spam software user-based?
What is Email spam ?
What is an antispam?
What is the Captcha value?
What is MagicSpam?
What is an execution plan? When would you use it?
What is BCP? When does it used?
What are the advantages of using Stored Procedures?
What is a Scheduled Jobs or What is a Scheduled Tasks?
What is NOT NULL Constraint?
What is CHECK Constraint?
What is FOREIGN KEY?
What is UNIQUE KEY constraint?
What is PRIMARY KEY?
What is the difference between a Local and a Global temporary table?
Name 3 ways to get an accurate count of the number of records in a table?
What is Log Shipping?
What is SQL Server Agent?
Which command using Query Analyzer will give you the version of SQL server and operating system?
What are the authentication modes in SQL Server? How can it be changed?



Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions



Cache = 0.015625 Seconds