#include<stdio.h>
void main()
{
int a [5];
for (i=0; i<=4; i++)
printf(“%d” ,a[i]);
}
Answer Posted / kalyan chukka
Here it shows i is undefined Symbol.So if declare i as
integer then it prints some garbage value Because Array is
declared but elements are not inserted into the array.So
garbage value is printed on the console
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is a lvalue
What is the time and space complexities of merge sort and when is it preferred over quick sort?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Is it acceptable to declare/define a variable in a c header?
Is c++ based on c?
Differentiate between Macro and ordinary definition.
What is the difference between formatted&unformatted i/o functions?
Are there any problems with performing mathematical operations on different variable types?
hi, which software companys will take,if d candidate's % is jst 55%?
In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]
How would you obtain the current time and difference between two times?
What is pointer to pointer in c language?
What is the explanation for prototype function in c?
application attempts to perform an operation?
What is console in c language?