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

To what value are pointers initialized? 1) NULL 2) Newly allocated memory 3) No action is taken by the compiler to initialize pointers.

Aricent,

4 9653

Which of the following sorts is quickest when sorting the following set: 1 2 3 5 4 1) Quick Sort 2) Bubble Sort 3) Merge Sort

7 16494

Which of the following data structures is on average the fastest for retrieving data: 1) Binary Tree 2) Hash Table 3) Stack

3 13591

Evaluate the following: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); 1) 10 2) 11 3) 1

6 20115

What character terminates all strings composed of character arrays? 1) 0 2) . 3) END

3 7899

True or false: If you continuously increment a variable, it will become negative? 1) True 2) False 3) It depends on the variable type

7 16190

Which of the following is not a valid declaration for main ()? 1) int main() 2) int main(int argc, char *argv[]) 3) They both work

2 12979

Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;

7 10933

void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case

Accenture, TCS,

9 18531

if a five digit number is input through the keyboard, write a program to calculate the sum of its digits. (hint:-use the modulus operator.'%')

23 79989

in iso what are the common technological language?

2065

Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)

NetApp, PTU, Wipro,

1 6890

what is the diff b/w static and non static variables in C. Give some examples plz.

Wipro,

3 14175

Add 2 64 bit numbers on a 32 bit machine

EMC, Hyderabad Central University, NetApp,

3 17448

Write a program to accept a character & display its corrosponding ASCII value & vice versa?

9 37970


Post New C Questions

Un-Answered Questions { C }

Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2091


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

1092


Why is %d used in c?

972


What are directives in c?

937


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1019


What is the scope of global variable in c?

966


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

1692


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1416


When a c file is executed there are many files that are automatically opened what are they files?

1076


What are c header files?

966


How can you increase the size of a statically allocated array?

1055


What are different types of variables in c?

1022


Is there sort function in c?

979


What is variable declaration and definition in c?

872


The __________ attribute is used to announce variables based on definitions of columns in a table?

1161