52.write a “Hello World” program in “c” without using a
semicolon?
53.Give a method to count the number of ones in a 32 bit number?
54.write a program that print itself even if the source file
is deleted?
55.Given an unsigned integer, find if the number is power of 2?
Answer Posted / rajat sharan
#include<stdio.h>
main()
{
if (printf(hello world))
}
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
How can I determine whether a machines byte order is big-endian or little-endian?
What is the concatenation operator?
What are enumerated types?
What is volatile variable in c with example?
What is const and volatile in c?
Difference between pass by reference and pass by value?
What Is The Difference Between Null And Void Pointer?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Why can’t constant values be used to define an array’s initial size?
What happens if header file is included twice?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
What is openmp in c?