C Interview Questions
Questions Answers Views Company eMail

write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?


what is printf

Satyam, MVSR,

5 2961

Write a program for print infinite numbers


3 5549

3. Program to print all possible substrings. ex: String S St Str Stri Strin String t tr tri trin tring r


3 20310

write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1

3 3665

main() { int x=2, y=4 if ((x==2||y==4) x++ y++ if (y==4+1) { x=x+y; } y++; printf("The values of x and y are %d and %d."x,y); } What is the output?


5 3927

void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }

9 2788

Input is "Jack and jill went up a hill" To print output is 1-letter word(s)-1 2-letter words-1 3-letter words-1 4-letter words-4

TCS, Mind Tree,

1 3880

Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.


what is stack , heap ,code segment,and data segment


How to swap 3 numbers without using 4th variable?

5 15516

write a program that will read the temperature in Celsius and convert that into Fahrenheit.

1 2952

write a program to print the one dimensional array.

1 3350

how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?


Is an array parameter is always "by reference" ?

1 1581

Post New C Questions

Un-Answered Questions { C }

Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.


pierrot's divisor program using c or c++ code


In which layer of the network datastructure format change is done


write a c program to find the sum of five entered numbers using an array named number


At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with these names could be kept in that shelf as in this example: bottom of shelf ---> [AAAJKRDFDEWAAYFYYKK]-----Top of shelf. All these packets are to be loaded on cars. The cars are lined in order, so that the packet could be loaded on them. The cars are also named [A, B, C, D, E,………….]. Each Car will load the packet with the same alphabet. So, for example, car ‘A’ will load all the packets with name ‘A’. Each particular car will come at the loading point only once. The cars will come at the loading point in alphabetical order. So, car ‘B’ will come and take all the packets with name ‘B’ from the shelf, then car ‘C’ will come. No matter how deep in the shelf any packet ‘B’ is, all of the ‘B’ packets will be displaced before the ‘C’ car arrives. For that purpose, some additional shelves are provided. The packets which are after the packet B, are kept in those shelves. Any one of these shelves contains only packets, having the same name. For example, if any particular shelf is used and if a packet with name X is in it, then only the packets having names X will be kept in it. That shelf will look like [XXXXXXX]. If any shelf is used once, then it could be used again only if it is vacant. Packets from the initial shelf could be unloaded from top only. Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical


about c language


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.


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


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.


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


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.


write a program to create a sparse matrix using dynamic memory allocation.