C Interview Questions
Questions Answers Views Company eMail

write a prgram of swapping with 2 valiables

6 2553

Why c++ is called c++ and not c+?

EBS,

9 21606

how to set Nth bit of a variable?

1 5982




what is the output on the screen? int n; n=printf("my name is %d",printf("kiran %d",printf("kumar"))); printf("\n %d \n",n);

TCS,

4 3159

what is the output of below int n=10; (n++)++; printf("%d",n);

3 5618

why we need function pointers?

3 3535

how to find your architecture is LittleEndian or BigEndian?

1 2878

Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

1064




Write a program that takes a 5 digit number and calculates 2 power that number and prints it

Accenture, HCL, Infosys, Infotech, SoftSolve, TCS, Vertex, Vimukti Technologies, ABS, Software India,

5 10758

write a program wch produces its own source code aas its output?

IonIdea,

1 5212

write a program which will count occurance of a day between two dates.

IonIdea,

1 4987

how to set Nth bit of variable by using MACRO

HCL,

3 21806

#include void main() { int a,b,c; a=b=c=1; c=++a || ++b && ++c; printf("%d\t%d\t%d",a,b,c); }

3 4156

write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"

2 2673

diff .between strcture and union

2 2296


Post New C Questions






Un-Answered Questions { C }

i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

831


How will you find a duplicate number in a array without negating the nos ?

971


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

1102


largest Of three Number using without if condition?

252


a c code by using memory allocation for add ,multiply of sprase matrixes

1476






write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

1756


what will be maximum number of comparisons when number of elements are given?

720


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

2062


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 "); }

514


Explain the process of converting a Tree into a Binary Tree.

1219


c language interview questions & answer

766


write a program to display all prime numbers

772


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?

887


code for find determinent of amatrix

724


Write a c program to demonstrate character and string constants?

989