C Interview Questions
Questions Answers Views Company eMail

write a prgram of swapping with 2 valiables

6 5124

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

EBS,

9 28346

how to set Nth bit of a variable?

1 7178

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 5093

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

3 8917

why we need function pointers?

3 5362

how to find your architecture is LittleEndian or BigEndian?

1 3929

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

1765

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

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

5 13805

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

IonIdea,

1 6470

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

IonIdea,

1 6059

how to set Nth bit of variable by using MACRO

HCL,

3 25622

#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 8313

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 4291

diff .between strcture and union

2 3626


Post New C Questions

Un-Answered Questions { C }

What are the 5 elements of structure?

571


I heard that you have to include stdio.h before calling printf. Why?

591


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2415


Can we access the array using a pointer in c language?

565


How can I send mail from within a c program?

583






Describe the difference between = and == symbols in c programming?

779


Define Spanning-Tree Protocol (STP)

648


What is #define in c?

624


What is the difference between the expression “++a” and “a++”?

652


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1635


What is a good data structure to use for storing lines of text?

601


In a byte, what is the maximum decimal number that you can accommodate?

628


Difference between exit() and _exit() function?

659


Explain how can a program be made to print the name of a source file where an error occurs?

693


What is dynamic variable in c?

569