what is output?
main()
{
#define SQR(x) x++ * ++x
int i = 3;
printf("
%d %d
",SQR(i),i * SQR(i));
}
a)9 27
b)35 60
c)20 60
d)15 175
Answers were Sorted based on User's Feedback
Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table
State the difference between realloc and free.
What is the difference between GETS();AND SCANF();
1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(“%d”,x); --x; } }
Write a c code segment using a for loop that calculates and prints the sum of the even integers from 2 to 30, inclusive?
What's the best way of making my program efficient?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
What is function and its example?
Under what circumstances does a name clash occur?
Write a program to swap two numbers without using third variable in c?
1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree.
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?