What are the complete rules for header file searching?
No Answer is Posted For this Question
Be the First to Post Answer
program that accepts amount in figures and print that in words
2 Answers Infosys, Lovely Professional University, Wipro,
Are the variables argc and argv are local to main?
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
Write a code to remove duplicates in a string.
f(*p) { p=(char *)malloc(6); p="hello"; return; } main() { char *p="bye"; f(p); printf("%s",p); } what is the o/p?
What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }
What is a Deque?
what are bit fields? What is the use of bit fields in a structure declaration?
0 Answers Flextronics, TISL, Virtusa,
write a c program to find the probability of random numbers between 1-1000
#include<stdio.h> void main() { int a=5,b=6,c; int x=(a<b)+7; int y=(x==7)*9; int z=(c=x+y)*2; printf("%h %h %h",x,y,z); } What is the output? Explain it.
long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
18 Answers Acropolis, HCL, Intel, TCS,
1.write a program to merge the arrays 2.write efficient code for extracting unique elements from a sorted list of array?