2.main
{
int x,j,k;
j=k=6;x=2;
x=j*k;
printf("%d", x);

Answer Posted / e.manjuladevi

x=2

Is This Answer Correct ?    13 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an operator?

655


Write the Program to reverse a string using pointers.

613


What is the sizeof () operator?

618


How can I remove the leading spaces from a string?

626


What is hashing in c?

638






Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

600


What are the advantages of using macro in c language?

585


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

762


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

722


How will you write a code for accessing the length of an array without assigning it to another variable?

611


Write a program to print "hello world" without using a semicolon?

591


Explain how do you override a defined macro?

579


What are external variables in c?

543


Explain how can I make sure that my program is the only one accessing a file?

618


Why header files are used?

642