C Interview Questions
Questions Answers Views Company eMail

what is the difference between structural,object based,object orientd programming languages?


1 2549

How can we open a file in Binary mode and Text mode?what is the difference?


1 2330

can any one tel me wt is the question pattern for NIC exam



I need to take a sentence from input and sort the words alphabetically using the C programming language. Note: This is C not C++. qsort and strtok not allowed


4 11089

Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......


Is main() function predfined or userdefined?

11 7123

what is difference between c and c++

4 2662

An interactive c program to read basic salary of 15 persons. each person gets 25% of basic as HRA, 15%of basic as conveyance allowances, 10%of basic as entertainment allowances.The total salary is calculated by adding basic+HRA+CA+EA.Calculate how many out of 15 get salary above 10,000.Rs also print the salary of each employee

2 4777

what is the use of keyword volatile??

LG Soft,

4 3660

Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer



3.write a simple program that will output your name,phone number,e-mail address,and academic major on separate lines 1.create an account and a personal directory for your work b.find out how to create a subdirectory on your system.create one called info c.you will use a text editor to type in your programs and data files.some C systems have a built in text editor;others do not.Find out what text editor you will be using and how to access it.create a text file(not a program) containing your name ,address,and telephone number on separate lines.Next,write the brand of computer you are using and the name of the text editor.Then write a paragraph that describes your past experience with computers.save this file in your info directory. d. find out how to print a file on your system .print out and turn in the file you created in (c).



2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }


1 2661

4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.


1 5512

5. distance conversion: Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer

4 6945

what is the output for the code : main() { int i,j; printf("%d %d ",scanf("%d%d",&i,&j)); }


20 8517

Post New C Questions

Un-Answered Questions { C }

please explain every phase in the "SDLC" in the dotnet.


How to establish connection with oracle database software from c language?


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.


diff between exptected result and requirement?


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.


write a proram to reverse the string using switch case?


main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }


What is pre-emptive data structure and explain it with example?


How to delete a node from linked list w/o using collectons?


given post order,in order construct the corresponding binary tree


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.


write a program to copy the string using switch case?


Using which language Test cases are added in .ptu file of RTRT unit testing???


can any one provide me the notes of data structure for ignou cs-62 paper


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)