C Interview Questions
Questions Answers Views Company eMail

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

IBM,

1079

how to print the character with maximum occurence and print that number of occurence too in a string given ?

Microsoft,

1282

write c program to display output 10(10+20)+(10+20+30)+ ... n term

Hindustan Gum Chemicals,

1088




write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

804

why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

713

what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }

Microsoft,

6 3754

write a progrmm in c language take user interface generate table using for loop?

818

Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 5 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

1 2708




main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }

2 1773

#include void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); } what is the output for this?

IIIT,

4 5279

Is it possible to run using programming C for Java Application?

NIC,

2 2069

write a c program to find reminder and quotient if one number is divided by other.to code this program don't use more than 2 variables

TCS,

2 3403

write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

TCS,

1014

write a programming in c to find the sum of all elements in an array through function.

967

i got 75% in all semester am i eligible for your company

Infosys,

1029


Post New C Questions






Un-Answered Questions { C }

how logic is used

754


can anyone please tell about the nested interrupts?

880


what is the height of tree if leaf node is at level 3. please explain

851


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

1432


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

2454






hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

882


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

804


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1120


how to make a scientific calculater ?

759


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

69


in iso what are the common technological language?

933


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)

4417


why return type of main is not necessary in linux

967


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

744


write a program in c language to print your bio-data on the screen by using functions.

5387