what is the difference between 123 and 0123 in c?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

can we have joblib in a proc ?

0 Answers  


Explain what are the different data types in c?

0 Answers  


Why c language?

0 Answers  


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 Answers   Google,


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?

0 Answers  






Is both getch() and getchar() functions are similar? if it is similar means why these two functions are used for same usage? if it is not similar means what is the difference?

1 Answers   Infosys,


What is stack in c?

0 Answers  


What is the need of structure in c?

0 Answers  


Describe the difference between = and == symbols in c programming?

0 Answers  


What is the diffences between Windows XP and Windows Visa

1 Answers   Aricent, FHF,


Why doesnt that code work?

0 Answers  


While(1) { } when this loop get terminate is it a infinite loop?

5 Answers  


Categories