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

What is the difference between macros and inline functions?

Global Edge, L&T,

5 12305

what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }

1 3847

How to write in a function declaration and in function call in which the function has 'n' number of varible or arguments?

2 4420

What is Generic pointer? What is the purpose of Generic pointer? Where it is used?

3 6132

what is the answer for it main() { int i; clrscr(); printf("%d",&i)+1; scanf("%d",i)-1; }

3 5626

Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.

Drona Solutions, Infosys, Vodafone, Webyog,

2 11249

write a programe to find the factorial of given number using recursion

3 7669

write a programme to enter some number and find which number is maximum and which number is minimum from enterd numbers.

3 4971

FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?

Wipro,

4 6844

void main() { char c; while(c=getchar()!='\n') printf("%d",c); } o/p=11 why?

Wipro,

8 12915

if we take a number as a char then can we manipulate(add, subtract) on this number

2 4116

In which category does main function belong??

5 6814

4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 7962

what is an inline fuction??

2 4394

find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

TCS,

1960


Post New C Questions

Un-Answered Questions { C }

Explain about the constants which help in debugging?

1323


How do you generate random numbers in C?

1157


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1217


How many data structures are there in c?

1073


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

1985


What is const keyword in c?

1129


Differentiate between the = symbol and == symbol?

1226


Why c is known as a mother language?

1047


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1398


How do shell structures work?

1078


What is function prototype in c with example?

1017


in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

983


What do mean by network ?

1111


Can we compile a program without main() function?

1082


What will the preprocessor do for a program?

1028