Explain that why C is procedural?
No Answer is Posted For this Question
Be the First to Post Answer
which is an algorithm for sorting in a growing Lexicographic order
write a program of palindrome(madam=madam) using pointer?
How can I find out if there are characters available for reading?
What is a nested loop?
Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?
logic for x=y^n
Where static variables are stored in c?
write a own function for strstr
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.
When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions