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

HCL C Interview Questions
Questions Answers Views Company eMail

main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?

7 17873

what is difference between ++(*p) and (*p)++

17 16002

how the size of an integer is decided? - is it based on processor or compiler or OS?

19 29612

what are the static variables

8 8151

The differences between Windows XP and Windows Visa

8 6898

write a program to swap Two numbers without using temp variable.

75 153223

what is volatile in c language?

9 25423

what is difference between array and structure?

44 114534

Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon


what is diff between localstatic and globalstatis variable possible 2 use in another file...?

2 3422

what is the function of .h in #include in c ?

23 26486

what is the use of getch() function in C program.. difference b/w getch() and getche()??

29 72956

hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?


write a program for size of a data type without using sizeof() operator?

22 36791

Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.

1 7949

Post New HCL C Interview Questions

HCL C Interview Questions

Un-Answered Questions

What separates the best sdrs from average sdrs? : insurance cold calling


In 'o' Specs What Is The Opcode For Write?


What is workgroup mode? : bo designer


What do you mean by laravel mix?


Explain how cache is used? : Dot net architecture


What is seam?


What is the significance of placenta?


What is the purpose of process object?


What is the principle behind dna fingerprinting?


Difference between arrays and linked list?


Disposal of radioactive waste materials and spent fuel is a major and important technology. How the waste radioactive material is disposed off ?


Is it possible to provide special behavior for one instance of a template but not for other instances?


How can someone set, get, and clear cookies in angularjs?


How do I calculate/select Droop CT ratio for various capacity of generators?


What is an information security management system (isms)?