#include<stdio.h>
void main()
{
int a [5];
for (i=0; i<=4; i++)
printf(“%d” ,a[i]);
}
Answer Posted / sameer mohammed
It shows us garbage values as because the integer type
array is declared but it is not defined.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
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.
code for quick sort?
Is fortran still used today?
Write a C program to count the number of email on text
How can I read/write structures from/to data files?
What is a double c?
Is it acceptable to declare/define a variable in a c header?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
How is = symbol different from == symbol in c programming?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
How many keywords (reserve words) are in c?
What is assignment operator?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
What is keyword in c?
What is putchar() function?