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?

959

what is printf

Satyam, MVSR,

5 3229

Write a program for print infinite numbers

Wipro,

3 6528




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

Huawei,

3 21837

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

3 3888

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?

TCS,

5 4570

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

9 3206

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 4169




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.

832

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

1591

How to swap 3 numbers without using 4th variable?

5 16436

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

1 3161

write a program to print the one dimensional array.

1 3597

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 ?

899

Is an array parameter is always "by reference" ?

1 1787


Post New C Questions






Un-Answered Questions { C }

i have a written test for microland please give me test pattern

1512


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

923


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

1608


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1022


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

802






difference between object file and executable file

4451


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1241


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

1933


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

745


write a program in c language to print your bio-data on the screen by using functions.

5458


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

548


How to delete a node from linked list w/o using collectons?

1434


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.

1817


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

809


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

388