what will be the output of" printf("%d%d",scanf("%d%
d",&a&b));"

Answer Posted / praveen

No, The output will not be 2......The exact output is "It
will take the garbage value"

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I get a null pointer in my programs?

826


What is the difference between text and binary i/o?

758


In c language can we compile a program without main() function?

806


What is a file descriptor in c?

782


Is c procedural or object oriented?

760


Write a program to check palindrome number in c programming?

768


What is the difference between NULL and NUL?

980


How do I send escape sequences to control a terminal or other device?

805


What is context in c?

714


What is an array? What the different types of arrays in c?

844


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

805


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

1220


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2002


What's the total generic pointer type?

790


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

2902