Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Interview Questions

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

IBM,

1390

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

1602

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

1374

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.

1104

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

1051

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

5035

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

1147

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.

3372

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

2297

#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,

7164

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

NIC,

2609

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,

4069

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,

1342

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

1278

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

1336

Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

213

Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

2602

Which type of language is c?

204

What is a constant?

199

console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

243

write a program fibonacci series and palindrome program in c

211

Explain modulus operator. What are the restrictions of a modulus operator?

209

how to find anagram without using string functions using only loops in c programming

2276

why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

207

Where in memory are my variables stored?

209

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

1183

How are variables declared in c?

149

Differentiate between functions getch() and getche().

182

What is ambagious result in C? explain with an example.

1608

What is identifier in c?

148