write a program to display all prime numbers
No Answer is Posted For this Question
Be the First to Post Answer
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What is a pointer?
What is a Deque?
write a program to generate address labels using structures?
What is the use of getch ()?
what are the stoge class in C and tel the scope and life time of it?
When should the volatile modifier be used?
wat are the two methods for swapping two numbers without using temp variable??
which will be first in c compiling ,linking or compiling ,debugging.
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
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.
Which is better oop or procedural?