C Interview Questions
Questions Answers Views Company eMail

write a prgram of swapping with 2 valiables

6 5792

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

EBS,

9 29543

how to set Nth bit of a variable?

1 7480

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 5773

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

3 9520

why we need function pointers?

3 5833

how to find your architecture is LittleEndian or BigEndian?

1 4233

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

1946

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 14723

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

IonIdea,

1 6941

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

IonIdea,

1 6395

how to set Nth bit of variable by using MACRO

HCL,

3 26191

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

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 4854

diff .between strcture and union

2 3983


Post New C Questions

Un-Answered Questions { C }

What is page thrashing?

836


given post order,in order construct the corresponding binary tree

2523


What are the header files used in c language?

770


write a program to print largest number of each row of a 2D array

2077


What is the purpose of main( ) in c language?

855


What is structure in c language?

816


Why c language is called c?

729


Why dont c comments nest?

817


What is variable initialization and why is it important?

821


How can I prevent another program from modifying part of a file that I am modifying?

814


What's the difference between constant char *p and char * constant p?

877


What is the right type to use for boolean values in c? Is there a standard type?

777


What is scanf_s in c?

832


Difference between Function to pointer and pointer to function

823


Why do we use c for the speed of light?

801