#include<stdio.h>
void main()
{
int a [5];
for (i=0; i<=4; i++)
printf(“%d” ,a[i]);
}
Answer Posted / neelima
it gives a garbage values
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is the right way to use errno?
Are the variables argc and argv are local to main?
What are the advantages of the functions?
Which is better between malloc and calloc?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Which driver is a pure java driver
What is wild pointer in c with example?
Describe the steps to insert data into a singly linked list.
What is declaration and definition in c?
Why we use stdio h in c?
What do you mean by a sequential access file?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Differentiate between static and dynamic modeling.
Write a program to print factorial of given number using recursion?