when will be evaluated as true/
if(x==x==x)
a) x=1;
b) x=0;
c) x=-1;
d) none
Answer Posted / vignesh1988i
all the three cases possible as for as i know.......
x=1
x=0
x=-1
| Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
How pointers are declared?
Explain what is a pragma?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
What is the process of writing the null pointer?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What are all different types of pointers in c?
What standard functions are available to manipulate strings?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
How can I change their mode to binary?
What are void pointers in c?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What is typeof in c?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What is void main () in c?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.