#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
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What does calloc stand for?
Why cant I open a file by its explicit path?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
When should a far pointer be used?
Explain do array subscripts always start with zero?
How many loops are there in c?
What is a null string in c?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
Explain what is a pragma?
Write a Program to accept different goods with the number, price and date of purchase and display them
What is uint8 in c?
What is external variable in c?
simple program of graphics and their output display