main()
{
int arr[5]={23,67};
printf("%d%d%d",arr[2],arr[3],arr[4]);
}

Answer Posted / bsn.teja

till array elements are not given any specific values,they
are supposed to contain garbage values.
here we initialised only 1st two elements of the array.
so output will be garbage values.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the best way to store flag values in a program?

790


Can a void pointer point to a function?

775


Differentiate between static and dynamic modeling.

848


how to introdu5ce my self in serco

1739


Is printf a keyword?

970


What is calloc()?

834


What is the use of sizeof?

764


write a program in c language to print your bio-data on the screen by using functions.

6538


What is double pointer in c?

771


What is the use of parallelize in spark?

764


what are # pragma staments?

1818


What does sizeof int return?

829


What is the purpose of main( ) in c language?

887


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]

2233


What is the advantage of an array over individual variables?

989