main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("India\n");
}
output?
Answer Posted / vikramanj
Actually compile time err wil occur..
Its "Possibly incorrect assignment"
Its due to if(a=0)??
Its wrong,we have to compare only while checking
conditions..
we have to use the operators which are used to check
conditions like ==,<=,>=....
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
why we wont use '&' sing in aceesing the string using scanf
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What is the correct declaration of main?
When is a “switch” statement preferable over an “if” statement?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
Why array is used in c?
Write the Program to reverse a string using pointers.
What does the c in ctime mean?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
hi any body pls give me company name interview conduct "c" language only
What is the use of typedef in c?
Is int a keyword in c?