Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

#include main() { int i=5; printf("%d",i*i-- - --i*i*i++ + ++i); } tell the answer with correct reason .specially reason is important nt answer ans by turbo c is -39

GameLoft,

1 4488

what will be the output of this program? #include #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }

IBM,

6 9024

What is the output from this program? #include void do_something(int *thisp, int that) { int the_other; the_other = 5; that = 2 + the_other; *thisp = the_other * that; } int main(void) { int first, second; first = 1; second = 2; do_something(&second, first); printf("%4d%4d\n", first, second); return 0; }

3 6204

what is pointer?

HCL, TCS,

13 15382

Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);

5 7671

stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

2417

Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

OpenFeel,

4 8990

Difference between data structure and data base.

CTS, Value Labs, Zoho,

7 34376

There is a number and when the last digit is moved to its first position the resultant number will be 50% higher than the original number.Find the number?

1 3227

Is there any book to know about Basics of C Language?

4 5428

What is the difference between CV and Resume ?

2 5216

what are the stages of compilation

Bosch,

1 6492

What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

4258

who is the editor of 'pokemon'?

1 3551

Wt are the Buses in C Language

Infosys,

3173


Post New C Questions

Un-Answered Questions { C }

Explain enumerated types in c language?

1002


write a c program for swapping two strings using pointer

2585


What does static variable mean in c?

1072


the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

23632


Tell us bitwise shift operators?

1030


How can you increase the size of a dynamically allocated array?

1150


How is a structure member accessed?

1077


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5572


What are the __date__ and __time__ preprocessor commands?

1060


What are register variables in c?

985


Can you write the function prototype, definition and mention the other requirements.

1096


in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

984


How is a null pointer different from a dangling pointer?

983


What is a protocol in c?

956


When a c file is executed there are many files that are automatically opened what are they files?

1067