printf("%d",(printf("Hello")); What it returns?
Answers were Sorted based on User's Feedback
Answer / praneeth
It doesn't because in printf access specifier is Integer
but to display Hello we should use %s.
Is This Answer Correct ? | 1 Yes | 22 No |
write a program to add two numbers of any size.....(remember any size)
#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?
How can I increase the allowable number of simultaneously open files?
Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.
What is the difference between struct and typedef struct in c?
how to find anagram without using string functions using only loops in c programming
explain how do you use macro?
write a c program to find the square of a 5 digit number and print the result.
5 Answers Accenture, Sasken, Vimukti Technologies,
What are formal parameters?
can we write a program in c for printf and scanf without using header file stdio.h
Write a program in c using only loops to print * * * * * *******
write a program to generate 1st n fibonacci prime number