main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.
1 8038write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
ADP,
1630How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }
1 3299
What does a div tag do?
How does qtp recognize objects in aut?
What are the rules required for soap service?
Which is the best method to get two values from the database?
Why orm is required?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
What is constant in tensorflow ?
Is there any provision to include one or more declaration in a selector?
How many columns can be added in a table in mysql?
What is the highest level of cohesion?
How do we delete the cache of the WebServer?
what does vldcmdkey means?
What is a static class in c#?
In case you have filters in your report, when filters will be applied in cached report instance?
Explain the difference between an exe and a dll?