main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("India\n");
}
output?

Answer Posted / ripal

The output will produce error because there is error at if
(a=0).It should be if(a==0)

Is This Answer Correct ?    8 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1779


What is your stream meaning?

603


How do I get a null pointer in my programs?

614


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

1701


What is a void pointer? When is a void pointer used?

614






Explain heap and queue.

577


What does sizeof return c?

596


What are the types of data structures in c?

596


What is array within structure?

578


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1999


Are pointers integer?

543


I need a sort of an approximate strcmp routine?

655


What are the data types present in c?

621


What is the value of c?

566


find the sum of two matrices and WAP for it.

626