What is scanf_s in c?
No Answer is Posted For this Question
Be the First to Post Answer
Write a simple code fragment that will check if a number is positive or negative.
What does the format %10.2 mean when included in a printf statement?
How can a number be converted to a string?
what would be the output of the following program? main() { int k = 123; char *ptr; ptr = &k; printf("%d",*ptr); }
what will be the output for the following program? main() { char ch = 'k'; char c; printf("%c",c); }
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is a null pointer in c?
Where in memory are my variables stored?
a number is perfect if it is equal to the sum of its proper divisor.. 6 is perfect number coz its proper divisors are 1,2 and three.. and 1+2+3=6... a number is deficient if the sum of its proper divisor is less than the number.. sample: 8 is deficient, coz its proper divisors are 1,2 and 4, and 1+2+4=7. abundant number, if the sum of its proper divisor is greater than the number.. sample..12 is abundant coz 1+2+3+4+6=16 which is geater than 12. now write a program that prompts the user for a number, then determines whether the number is perfect,deficient and abundant..