What is the value of y in the following code?
x=7;y=0;
if(x=6)
y=7;
else
y=1;
Answer Posted / shruti
y = 7..
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is c token?
Define the scope of static variables.
What is array of structure in c programming?
What does p mean in physics?
Write a code to generate a series where the next element is the sum of last k terms.
What does %2f mean in c?
Why c is called top down?
Explain what are global variables and explain how do you declare them?
What is the best style for code layout in c?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What is the size of enum in bytes?
What are qualifiers and modifiers c?
Define macros.
With the help of using classes, write a program to add two numbers.
How many main () function we can have in a project?