C Interview Questions
Questions Answers Views Company eMail

write a prgram of swapping with 2 valiables

6 5702

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

EBS,

9 29395

how to set Nth bit of a variable?

1 7429

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 5675

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

3 9451

why we need function pointers?

3 5775

how to find your architecture is LittleEndian or BigEndian?

1 4189

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

1910

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 14589

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

IonIdea,

1 6887

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

IonIdea,

1 6356

how to set Nth bit of variable by using MACRO

HCL,

3 26098

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

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 4796

diff .between strcture and union

2 3933


Post New C Questions

Un-Answered Questions { C }

What is static memory allocation? Explain

781


Why are algorithms important in c program?

789


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

838


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

955


What is the difference between null pointer and wild pointer?

865






Does free set pointer to null?

720


What is chain pointer in c?

757


The __________ attribute is used to announce variables based on definitions of columns in a table?

908


What is pivot in c?

719


What is unsigned int in c?

703


How pointer is different from array?

782


What does %d do in c?

700


how can use subset in c program and give more example

1646


Explain the difference between malloc() and calloc() in c?

764


can we implement multi-threads in c.

825