1. Consider the following rules about integer constant in C An integer constant must have at least one digit.An integer constant must not have a decimal point.An integer constant may be positive or negative.The default sign is positive.A maximum of one comma or blank is allowed. Which of the above are correct?





Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 02 Jun 2017 01.02 am
    No comma or blank is allowed in integer constant in C.
Show Similar Question And Answers
QA->A statement followed by two assumptions I and II is given. You have to consider the statement to be true even if it seems to be at variance from commonly known facts. You are to decide which of the given assumptions can definitely be drawn from the given statement. Indicate which one of the four given alternatives is correct ? Statement : If more encouragement is given to Sports, Indians will win more gold medals at the Olympic Games. Assumptions : I. Indians do not win gold medals. II. More enc....
QA->Rahim travelled straight from point E to F at a distance of 5 km. From F he turned left and travelled 6 km and reached point G, there he took a left turn and travelled 5 km to reach point H. He took another left turn and travelled 2 km and reached point I. How far is he from the starting point ?....
QA->Two statements are given followed by two conclusions I and II. You have to consider the two statements to be true even if they seem to be at variance from commonly known facts. You have to decide which one of the given conclusions is definitely drawn from the given statements. Statement : All virtuous persons are happy. No unhappy person is virtuous. Conclusions : I. Happiness is related to virtue II. Unhappy person is not virtuous.....
QA->A pendulum clock is set to give correct time at the sea level. This clock is moved to a hill station at an altitude of 2500m above the sea level. In order to keep correct time on the hill station, the length of the pendulum?....
QA->“During my travels throughout the world, I have had the good fortune to come in contact with several saints and maharishis... But I have frankly to admit that I have never come across one who is spiritually greater than Swami Narayana Guru or a person who is at par with him in spiritual attainment.” Who paid tribute in the above words after visiting Sree Narayana Guru?....
MCQ->Consider the following rules about integer constant in C An integer constant must have at least one digit.An integer constant must not have a decimal point.An integer constant may be positive or negative.The default sign is positive.A maximum of one comma or blank is allowed. Which of the above are correct?....
MCQ->If N = 196, the result of the following program will be

INTEGER N, DIGIT 1, DIGIT 2, DIGIT 3,
SUM
READ, N
DIGIT 1 = N - (N / 10) 10 N = N / 10
DIGIT 2 = N - (N / 10) 10 N = N / 10
DIGIT 3 = N - (N / 10) 10
SUM = DIGIT 1 + DIGIT 2 + DIGIT 3....
MCQ->Consider the following statements about expressing real constants in exponential form in CThe mantissa and exponent are separated either by e or E.The mantissa and exponent may have positive or negative sign.Default sign of mantissa is positive.Default sign of exponent is negative. Which of the above statements are wrong?....
MCQ->Consider the following statements The sign of a floating point number depends on the sign of mantissa only.If the absolute value of a number is less than 1, the sign of exponent is zero or positive.With sign bit of mantissa as 0, increasing the exponent from a positive to a more positive value gives a larger floating point number. Which of the above are correct?....
MCQ->In which direction point 'A is located with respect to point 'B'? I. A man starts walking from point 'A' towards east and after walking 3 metres reaches point 'N', he turns right and walks 7 metres to reach point 'M'. Then he turns right and walks 6 metres to reach point '0'. He again turns right and walks 7 metres to reach point 'P'. He. then, turns left and walks 2 metres to reach point 'B'. II. A man starts walking from point 'A' towards east and after walking 3 metres reaches point 'N'. From point 'N' he walks 7 metres towards south and reaches point 'M'. From point 'M' he walks 6 metres towards west and reaches Point '0'. From point '0' he walks 7 metres towards north and reaches point P. From point 'P' he walks towards west and reaches point 'B'. The distance between points A and B is 8 metres.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution