C Interview Questions
Questions Answers Views Company eMail

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

PanTerra,

1 2700

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

PanTerra,

1 2463

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

NIC,

838




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

Aspire,

4 11633

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

811

Is main() function predfined or userdefined?

11 7415

what is difference between c and c++

4 2795

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 4918




what is the use of keyword volatile??

LG Soft,

4 3823

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

TCS,

1422

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).

TCS,

3406

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); }

Wipro,

1 2794

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.

Wipro,

1 5625

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 7140

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

Infosys,

20 8955


Post New C Questions






Un-Answered Questions { C }

code for replace tabs with equivalent number of blanks

789


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

945


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

4391


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

1496


What is the difference between declaring a variable by constant keyword and #define ing that variable?

1581






What is the code for 3 questions and answer check in VisualBasic.Net?

967


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

782


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

926


how we can make 3d venturing graphics on outer interface

2774


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

773


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

769


what will be maximum number of comparisons when number of elements are given?

674


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1119


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

1271


write a c program in such a way that if we enter the today date the output should be next day's date.

924