C Interview Questions
Questions Answers Views Company eMail

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

Accenture,

691

What is the output of below code? main() { static in a=5; printf("%3d",a--); if(a) main(); }

TCS, Infosys,

4 3754

What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }

1 2321




main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }

6 5380

write a c program to add two integer numbers without using arithmetic operator +

Value Labs,

13 13475

is c language is a object oreinted language?

TCS,

5 2799

wat is the meaning of c?

IBM, Wipro, CTS,

9 4425

define switch statement?

CTS,

6 3845




The variables are int sum=10,SuM=20; these are same or different?

3 2233

what is the output of below code int x=8,y; x>>=2; y=x; what is y value. NOTE:EXPLANATION IS COMPALSARY with binary bits

Wipro,

2 2406

write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

TCS,

1 2053

shorting algorithmS

Wipro,

903

WHAT IS ABSTRACT DATA TYPE

Wipro,

4 3374

FILE PROGRAMMING

Wipro,

981

SRUCTURE PROGRAMMING

CTS, Wipro,

3 3644


Post New C Questions






Un-Answered Questions { C }

will u please send me the placement papers to my mail???????????????????

592


All technical questions

714


how many errors in c explain deply

838


code for quick sort?

778


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

881






please give me some tips for the placement in the TCS.

893


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

1459


how to write a c program to print list of fruits in alpabetical order?

679


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

1342


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as ā€œ****ā€.

871


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.

3919


write a programming in c to find the sum of all elements in an array through function.

927


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

181


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

791


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.

792