main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?
7 26809Write 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
2278what is diff between localstatic and globalstatis variable possible 2 use in another file...?
2 5383hai 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?
2111Write 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 12947Post New HCL C Interview Questions
How teradata makes sure that there are no duplicate rows being inserted when its a set table?
why you done m.b.a after completing msc mathematcs and b.ed
What things you should not do on while flying?
Explain which branch of science deals with the transformation of chemical energy into electrical energy and vice versa?
Explain what do you mean by balanced color way?
State the difference between view stack and view state?
What is the difference between use and require in perl?
Q. what @the interview exact Q&A is it correct
How do I automatically merge cells in excel?
How many scope can an application have?
What are the lotus notes database elements?
Explain what is backbone.js?
How do you specify the number of iterations and specific condition within a single do loop?
What modification is required for the atomic theory in order to explain the existence of isotopes, and modern view of atomic nuclei and electrons?
how many types of preheaters are in cement industry & what r they can any body explain?