int a=1,b=2,c=3;
printf("%d,%d",a,b,c);
What is the output?
Answers were Sorted based on User's Feedback
#include<stdio.h> int main() { int i=2; int j=++i + ++i + i++; printf("%d\n",i); printf("%d\n",j); }
which operator having lowest precedence?? a.)+ b.)++ c.)= d.)%
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
plz answer..... a program that reads non-negative integer and computes and prints its factorial
what are the 10 different models of writing an addition program in C language?
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..
print ur name without using any semicolon in c/c++....
21 Answers Bosch, TCS, Wipro,
Is there a way to compare two structure variables?
Explain in detail how strset (string handling function works )pls explain it with an example.
Write programs for String Reversal & Palindrome check
5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function
what is the difference between. system call and library function?