Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Google C Interview Questions
Questions Answers Views Company eMail

if the address of a[1,1] and a[2,1] are 1000 and 1010 respectively and each occupies 2 bytes then the array has been stored in what order?

4 17755

we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language?????????????

4 4724

array contains zeros and ones as elements.we need to bring zeros one side and one other side in single parse. ex:a[]={0,0,1,0,1,1,0,0} o/p={0,0,0,0,0,1,1,1}

12 10076

which header file contains main() function in c?

17 20183

write a c program to print the values in words eg:- 143 written it has (one hundred and forty three)& 104, 114 are also written words

5 11610

There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?

8 7644

How to write a C program to determine the smallest among three nos using conditional operator?

2 16848



write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)


a simple c program using 'for' loop to display the output 5 4 3 2 1

2 1914

input any 4 digit number and find the difference of all the digits?

3 2236

What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }


what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }

1 2818

what is the purpose of the code, and is there any problem with the code? int f( int n, int l, int r ) { return (n << l) >> r; }

2 2004

What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }

1 2234

Post New Google C Interview Questions

Google C Interview Questions

Un-Answered Questions

How fixed length strings are truncated and padded?


What is a data source (ds)?


How do I write a c++ program?


What sort of advantages do businesses have with effective database management? : hana administration


What are the different control transfer statements used in swift?


What are the different input parameters types in sap hana? : hana bi development


What does a sign mean in excel formula?


Does diesel engine powered automobile use unit pump and unit injector?


What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?


What is the user of Primary key?


How does session work in php?


What is personnel area?


If one wanted to display the value of a variable named answer in the log file, what would the first argument to the previous command look like?


why there is a collision in switch


If servlet receives multiple requests, how many objects will it create?