Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

Write a routine that prints out a 2-D array in spiral order!

Lucent,

1 7548

what is a far pointer

ABB, DRDO, ITI, Maruti Suzuki, Steel Plant, TCS, Toyota, Vivo Mobiles,

12 38694

Write a program to compare two strings without using the strcmp() function

Accenture, Arba Minch University,

42 127496

what is the difference between const char *p, char const *p, const char* const p

Accenture, Aricent, CTS, Geometric Software, Point Cross, Verizon,

5 50870

Write a program to interchange two variables without using the third variable?

Accenture, College School Exams Tests, Infotech,

17 41245

What is the output of the program given below #include main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }

ADITI, Student, TCS,

21 36627

What is the output of the following program #include main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }

ADITI, Adobe,

8 19718

What is the memory allocated by the following definition ? int (*x)[10];

ADITI, Wipro,

4 17961

What is the memory allocated by the following definition ? int (*x)();

ADITI,

2 8810

What is the output for the program given below typedef enum grade{GOOD,BAD,WORST,}BAD; main() { BAD g1; g1=1; printf("%d",g1); }

ADITI,

4 10186

Give the output for the following program. #define STYLE1 char main() { typedef char STYLE2; STYLE1 x; STYLE2 y; clrscr(); x=255; y=255; printf("%d %d\n",x,y); }

ADITI,

2 7158

#ifdef TRUE int I=0; #endif main() { int j=0; printf("%d %d\n",i,j); }

ADITI,

3 8432

What is the output for the following program #include main() { char a[5][5],flag; a[0][0]='A'; flag=((a==*a)&&(*a==a[0])); printf("%d\n",flag); }

ADITI, Wipro,

5 10496

HOW DO YOU HANDLE EXCEPTIONS IN C?

AppLabs,

2 7239

WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c file management?

3D PLM, Code Studio, Deltech, IBM,

28 87234


Post New C Questions

Un-Answered Questions { C }

What is a memory leak? How to avoid it?

1262


List out few of the applications that make use of Multilinked Structures?

2115


What are header files and explain what are its uses in c programming?

1070


What are multidimensional arrays?

1068


What is c method?

944


What are local static variables? How can you use them?

1084


What are the 5 types of organizational structures?

1022


What tq means in chat?

1065


Write a program to swap two numbers without using the third variable?

1018


What does malloc () calloc () realloc () free () do?

1006


How many levels of pointers can you have?

1137


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

3402


What are the types of pointers?

1036


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

2247


Explain how do you sort filenames in a directory?

985