what is the answer for it
main()
{
int i;
clrscr();
printf("%d",&i)+1;
scanf("%d",i)-1;
}
Answer Posted / deepshree sinha
any garbage value of i because the value of i is not
initialised.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
If you know then define #pragma?
What does the && operator do in a program code?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
What is abstract data structure in c?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
How can I sort a linked list?
Explain what is the benefit of using #define to declare a constant?
What is const volatile variable in c?
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.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. 3.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(i.e.,the original ASCII equivalent plus the random integer)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. 4.Dislay 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 decodingas was used in encoding.
What library is sizeof in c?
What is the difference between array and linked list in c?
What is a class c rental property?
write a program to generate address labels using structures?
What is the purpose of macro in C language?