main()
{
int a;
a=++100;
printf("%d",a);
getch();
}
Answers were Sorted based on User's Feedback
Answer / baji shareef
error. Increment procedure is possible only for the variable. ++100 means 100=100+1 i.e., you are changing the value of constant value which is impossible.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / khurshid alam
Sorry Error first define a=0; or any value
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a program to exchange two variaables without temp
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
question-how to run a c programme.
Write a function that will take in a phone number and output all possible alphabetical combinations
how to find the size of the data type like int,float without using the sizeof operator?
Hi, main() { } Is a user defined function or Built in Functionn
What is the difference between printf and scanf )?
What is selection sort in c?
Find MAXIMUM of three distinct integers using a single C statement
Can we access the array using a pointer in c language?
what is the most appropriate way to write a multi-statement macro?
I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.