C Interview Questions
Questions Answers Views Company eMail

what is array?

8 3146

hi send me sample aptitude papers of cts?

825

What is macro?

IBM,

5 4342




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

Microsoft,

11 11215

define function

Sonata, Assurgent,

4 3436

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

Assurgent,

6 5335

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

HCL, IBM,

22 31303

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 6901




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

16 63369

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

Infosys, Wipro, ICT,

24 65963

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 65589

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 104343

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

Microsoft, Vembu,

11 45551

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

1 7957

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

TCS,

10 40347


Post New C Questions






Un-Answered Questions { C }

a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

771


write a program to find the given number is prime or not

2242


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.

795


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

400


what is reason of your company position's in india no. 1.

965






Give basis knowledge of web designing ...

787


regarding pointers concept

726


what are the facialities provided by you after the selection of the student.

892


cavium networks written test pattern ..

1981


ATM machine and railway reservation class/object diagram

3991


how is the examination pattern?

814


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

9919


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

1582


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

1505


shorting algorithmS

875