C Interview Questions
Questions Answers Views Company eMail

If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.

Google,

12 41446

Write a C function to search a number in the given list of numbers. donot use printf and scanf

Honeywell, TCS,

6 9519

what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }

Honeywell,

3 6537

Find string palindrome 10marks

Honeywell, Infosys, Riktam, Roland,

5 10352

a C prog to swap 2 no.s without using variables just an array?

TCS,

5 7142

Write a program in c to input a 5 digit number and print it in words.

11 59887

How to receive strings with spaces in scanf()

7 8508

i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 3652

wap in c to accept n number display the highest and lowest value

2 6517

wap in c to accept a number display the total count of digit

4 10572

what are the difference between ANSI C and Let Us c and Turbo C

LG Soft,

4 19982

The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................

HOV Services, IBM, Potty,

14 22145

what is the other ways to find a logic to print whether a number is an even or odd wit out using % symbol??????? i know three different ways to print it. so i need any other different logic>>>>>

TCS,

5 6994

i want to know the procedure of qualcomm for getting a job through offcampus

HCL,

1923

i want to know aptitude questions,technical questions

2 5696


Post New C Questions

Un-Answered Questions { C }

Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1457


What is the difference between mpi and openmp?

723


Why is it usually a bad idea to use gets()? Suggest a workaround.

888


What is the correct declaration of main?

665


What is an operator?

649






Why c language?

633


What is the symbol indicated the c-preprocessor?

686


What is a nested formula?

595


What are categories used for in c?

552


Why is c so popular?

640


Can true be a variable name in c?

553


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.

1611


What is function in c with example?

617


show how link list can be used to repersent the following polynomial i) 5x+2

1668


How to find a missed value, if you want to store 100 values in a 99 sized array?

803