void main()
{
int i=5;
printf("%d",i+++++i);
}

Answer Posted / surenda pal singh chouhan

Compiler Error

Explanation:
The expression i+++++i is parsed as i ++ ++ + i which is an
illegal combination of operators.

Is This Answer Correct ?    17 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program for the normal snake games find in most of the mobiles.

1791


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]

1964


Why is main function so important?

622


List the difference between a "copy constructor" and a "assignment operator"?

590


How many parameters should a function have?

671






Explain how does free() know explain how much memory to release?

578


What does p mean in physics?

594


What is static and auto variables in c?

572


How can you increase the allowable number of simultaneously open files?

604


What does emoji p mean?

613


What is void main () in c?

745


Which is better between malloc and calloc?

678


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

655


Write a program to generate the Fibinocci Series

673


Can you think of a logic behind the game minesweeper.

2015