what is the answer for it
main()
{
int i;
clrscr();
printf("%d",&i)+1;
scanf("%d",i)-1;
}
Answers were Sorted based on User's Feedback
Answer / deepshree sinha
any garbage value of i because the value of i is not
initialised.
Is This Answer Correct ? | 1 Yes | 1 No |
Why header file is used in c?
What is the purpose of sprintf?
What is d'n in c?
write a c program to add two integer numbers without using arithmetic operator +
What is an volatile variable?
What is main function in c?
what is the definition of storage classes?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }
Which are low level languages?
int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]
write a program to search for an element in a given array. If the array was found then display its position otherwise display appropriate message in c language