#include
what will be the output of this program?
#include
IBM,
6 9024What is the output from this program?
#include
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.
2417Write 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.
4 8990There 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 3227What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
4258
Explain enumerated types in c language?
write a c program for swapping two strings using pointer
What does static variable mean in c?
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!+....
Tell us bitwise shift operators?
How can you increase the size of a dynamically allocated array?
How is a structure member accessed?
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
What are the __date__ and __time__ preprocessor commands?
What are register variables in c?
Can you write the function prototype, definition and mention the other requirements.
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
How is a null pointer different from a dangling pointer?
What is a protocol in c?
When a c file is executed there are many files that are automatically opened what are they files?