Is c weakly typed?
No Answer is Posted For this Question
Be the First to Post Answer
Explain what math functions are available for integers? For floating point?
How can I read a directory in a c program?
How can I implement opaque (abstract) data types in C? What's the difference between these two declarations? struct x1 { ... }; typedef struct { ... } x2;
An array name contains base address of the array. Can we change the base address of the array?
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)
write c program without semicolon
11 Answers MindTech, TCS, Wipro,
How to find a missed value, if you want to store 100 values in a 99 sized array?
How do you define a string?
cavium networks written test pattern ..
void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?
WAP – represent a char in binary format