Write a program to show the workingof auto variable.
Answer Posted / shrikantauti
main()
{
auto int i,j;
printf("%d%d", i,j);
}
/*
output could look like:
1211 221
*/
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
List some applications of c programming language?
Write a program to check palindrome number in c programming?
Describe the modifier in c?
What is meant by errors and debugging?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What does %p mean c?
What functions are used for dynamic memory allocation in c language?
What are header files in c programming?
How can you be sure that a program follows the ANSI C standard?
How can you pass an array to a function by value?
What are the functions to open and close the file in c language?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
Why structure is used in c?