C Interview Questions
Questions Answers Views Company eMail

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

PanTerra,

1 2746

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

PanTerra,

1 2516

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

NIC,

883




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 11835

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

863

Is main() function predfined or userdefined?

11 7548

what is difference between c and c++

4 2854

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 4970




what is the use of keyword volatile??

LG Soft,

4 3876

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,

1455

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,

3478

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 2835

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 5667

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 7221

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

Infosys,

20 9151


Post New C Questions






Un-Answered Questions { C }

Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

804


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

1393


write a program to concatenation the string using switch case?

852


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

1976


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

3059






pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

1460


pierrot's divisor program using c or c++ code

1031


Without Computer networks, Computers will be half the use. Comment.

1028


can anyone please tell about the nested interrupts?

911


what is the syallabus of computer science students in group- 1?

1102


the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

16795


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1141


shorting algorithmS

983


in linking some of os executables are linking name some of them

902


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1098