C Interview Questions
Questions Answers Views Company eMail

what is array?

8 3232

hi send me sample aptitude papers of cts?


What is macro?


5 4431

Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass.


11 11397

define function

Sonata, Assurgent,

4 3527

what is a headerfile?and what will be a program without it explain nan example?


6 5407

write a program for size of a data type without using sizeof() operator?


22 32163

If we have an array of Interger values, find out a sub array which has a maximum value of the array and start and end positions of the array..The sub array must be contiguious. Take the start add to be 4000. For Ex if we have an array arr[] = {-1,-2,-5,9,4,3,-6,8,7,6,5,-3} here the sub array of max would be {8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 = 26.The start and end position is 4014(8) and 4020(5).

Motorola, Microsoft,

5 6976

write a program to display the array elements in reverse order in c language

16 63817

write a program to find the sum of the array elements in c language?

Infosys, Wipro, ICT,

24 66645

write a program to find the number of even integers and odd integers in a given array in c language

NIIT, Olive Tech, IAI Cameroun, QIS,

13 65963

write a program to search for an element in a given array. If the array was found then display its position otherwise display appropriate message in c language

TCS, IT Park,

18 105320

Write a program to find the smallest and largest element in a given array in c language

Microsoft, Vembu,

11 45828

write a program to display the frequency of each element in a given array in c language

1 8029

write a program to sort the elements in a given array in c language


10 40936

Post New C Questions

Un-Answered Questions { C }

to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;


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


Calculate 1*2*3*____*n using recursive function??


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.


Why we not create function inside function.


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.


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.


number of times a digit is present in a number


how to create duplicate link list using C???


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


program for reversing a selected line word by word when multiple lines are given without using strrev


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34