Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Interview Questions
Questions Answers Views Company eMail

can any one tell that i have a variable which is declared as static but i want this variable to be visible to the other files? how?

2 2967

what is diffrence between string and character array?

1 2981

GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1023

i want to asked a question about c program the question is: create a c program that displays all prime numbers less than 500? using looping statement

5 5024

what is the value of b if a=5; b=++a + ++a

Infosys, TCS, Tech Mahindra,

31 34796

Write a c program to find, no of occurance of a given word in a file. The word is case sensitive.

2 6638

create a C program that displays one z,two y's,three x's until twenty six A's. plzz answer i need it tomorrow.

4 3368

what will be the output for the following program? main() { char ch = 'k'; char c; printf("%c",c); }

3 3758

union { char ch[10]; short s; }test; test.s = 0xabcd; main() { printf("%d",ch[10]); }

3 3544

extern static int i func() { i =10; i++; printf("%d \n",i); } main() { i =20; printf("%d \n",i); func(); printf("%d \n",i); }

2 3993

Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.

4 3712

A.C func() { pritnf(" in fuction %d",MACRO); } MAIN.c testfunc() { #define MACRO 10 printf("in test function %d", MACRO); } main() { printf("in main %d",MACRO); func(); testfunc(); getch(); }

Wipro,

2 2971

typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?

1 6257

Can i use Two or More Main Funtion in any C program.?

4 5931

Why the below program throughs error during compilation? #include #include enum { ZERO, ONE, TWO, }; main() { printf("%d",&TWO); getch(); }

2 2663


Post New C Questions






Un-Answered Questions { C }

Is there a way to switch on strings?

226


Explain what is the concatenation operator?

242


What are high level languages like C and FORTRAN also known as?

235


What is meant by high-order and low-order bytes?

263


What is the meaning of && in c?

185






What does #pragma once mean?

274


What is a static function in c?

239


What are the types of assignment statements?

238


What is bubble sort in c?

227


Why c is called free form language?

177


Describe newline escape sequence with a sample program?

218


What is identifiers in c with examples?

207


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

273


What are different storage class specifiers in c?

225


What is meant by realloc()?

232