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



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



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

Hindustan Gum Chemicals,


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.


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


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


6 3484

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


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 2489

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

2 1619

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


4 4713

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


2 1913

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


2 3175

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 []);



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


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



Post New C Questions

Un-Answered Questions { C }

1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..


hi send me sample aptitude papers of cts?


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor


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


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250


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


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com


write a program to rearrange the array such way that all even elements should come first and next come odd


main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*


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.


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25


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