|
Question |
Rating |
View Answer |
 |
main() { if (!(1&&0)) { printf("OK I am done."); } else { printf("OK I am gone."); } }
|
|
View Answer |
 |
What is page thrashing? |
|
View Answer |
 |
How to connect a database (MS Access) to Borland C? Please give me step by step coding.
|
|
View Answer |
 |
What is hashing ? |
|
View Answer |
 |
#define SQR(x) x * x main() { printf("%d", 225/SQR(15)); }
|
|
View Answer |
 |
struct Foo { char *pName; char *pAddress; }; main() { struct Foo *obj = malloc(sizeof(struct Foo)); clrscr(); obj->pName = malloc(100); obj->pAddress = malloc(100); strcpy(obj->pName,"Your Name"); strcpy(obj->pAddress, "Your Address"); free(obj); printf("%s", obj->pName); printf("%s", obj->pAddress); }
|
|
View Answer |
 |
Can there be a mouse click and drag function used together to rotate a circle in c?please give which are they? |
|
View Answer |
 |
When should a type cast be used ? |
|
View Answer |
 |
A lift can accept a maximum load of 1000 kg.write a program to check how many people enter lift & what is the total weight currently present in the lift? If it exceeds maximum limit,set a variable for overweight.if overweight variable is set ring alarm. |
|
View Answer |
 |
What is difference between the test effort and the test procedure? |
|
View Answer |
 |
What is the difference between unix and linux. |
|
View Answer |
 |
What is the use of typedef? |
|
View Answer |
 |
using c-strings write a program that will analyse the text"1.1my brother is taller than me.1.2 I am a boy of sixteen years old". The program should remove multiple spaces betweem words,find the longest word in the text,search and identify the number of letters"e", extact the number of integers , extract the number of doubles, extract the number of words in each sentence and identify the number of sentences in the text. |
|
View Answer |
 |
What is a default TCP/IP socket assigned for SQL Server? |
|
View Answer |
 |
What is the difference between text and binary modes?
|
|
View Answer |
 |
void func1(int (*a)[10]) { printf("Ok it works"); } void func2(int a[][10]) { printf("Will this work?"); }
main() { int a[10][10]; func1(a); func2(a); }
|
|
View Answer |
 |
What is the code to find our age,for example if my date of birth is 4/12/1986 and today date is 16/11/2008 answer should give our year,month,no of days |
|
View Answer |
 |
const int perplexed = 2; #define perplexed 3 main() { #ifdef perplexed #undef perplexed #define perplexed 4 #endif printf("%d",perplexed); }
|
|
View Answer |
 |
What is the output of the following program: Int x = 3, y = 2; foo(x, y) { x = x + 2; y = y + 3; printf (“%d %d”, x,y); } main0 { int x,y; x = 5; y = 5; printf (“%d %d”, x,y); } a) 7 8 5 5 b) 5 5 5 5 c) 5 5 3 2 d) 7 8 7 8 |
|
View Answer |
 |
Which language is not high-level language? |
|
View Answer |