C Interview Questions
Questions Answers Views Company eMail

write a prgram of swapping with 2 valiables

6 5891

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

EBS,

9 29742

how to set Nth bit of a variable?

1 7570

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 5868

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

3 9616

why we need function pointers?

3 5928

how to find your architecture is LittleEndian or BigEndian?

1 4293

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

1969

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 14850

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

IonIdea,

1 6987

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

IonIdea,

1 6443

how to set Nth bit of variable by using MACRO

HCL,

3 26265

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

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 4923

diff .between strcture and union

2 4033


Post New C Questions

Un-Answered Questions { C }

What is a scope resolution operator in c?

970


diff between exptected result and requirement?

1817


How can you find the day of the week given the date?

860


How can you access memory located at a certain address?

878


How are pointers declared in c?

811


How can you return multiple values from a function?

856


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1486


How a string is stored in c?

824


Explain what are the different data types in c?

966


Hai what is the different types of versions and their differences

1737


What is the role of this pointer?

773


Why is extern used in c?

847


Differentiate between declaring a variable and defining a variable?

833


How can you determine the maximum value that a numeric variable can hold?

909


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

917