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 24294

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 6302

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 13755

which header file contains main() function in c?

17 26160

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 14712

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 10484

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

2 18176

WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2032

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)

1633

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

2 2985

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

3 3515

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); } }

1962

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 3656

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 3105

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

1 2997

Post New Google C Interview Questions


Google C Interview Questions


Un-Answered Questions

how to restore tsm server database using dbs/incr/full database backups?

468


What is the web part?

446


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

949


Define what is space charge width?

660


What is #include cmath?

665






Can I upgrade to windows 10 from xp?

440


What is the use of javascript?

522


What is class syntax c++?

600


What the best way to inject one service into another in angular 2?

452


How will you create a field using code?

80


What is csrf vulnerability?

227


What is data compression?

550


what is gateways in netcool/omnibus?

540


Who invented semaphore?

486


What is the required action you need to perform if you opt for scheduled maintenance on the cluster nodes?

45