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,

11 26379

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

TCS, Honeywell,

6 6368

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 4636




Find string palindrome 10marks

Infosys, Honeywell, Roland, Riktam,

5 7328

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

TCS,

5 4792

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

11 51146

How to receive strings with spaces in scanf()

7 4804

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 2248




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

2 5099

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

4 8309

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

LG Soft,

4 14661

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

IBM, HOV Services, Potty,

14 14955

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 4664

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

HCL,

1181

i want to know aptitude questions,technical questions

2 3996


Post New C Questions






Un-Answered Questions { C }

find out largest elemant of diagonalmatrix

809


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

880


a program that can input number of records and can view it again the record

691


write a c program to calculate sum of digits till it reduces to a single digit using recursion

1851


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.

3918






WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

771


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

914


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

126


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

4405


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

793


write a program to print data of 5 five students with structures?

833


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

9996


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

1299


Sir i need notes for structure,functions,pointers in c language can you help me please

1210


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

1715