Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Accenture C Interview Questions
Questions Answers Views Company eMail

Give a fast way to multiply a number by 7

15 48661

Write a program to compare two strings without using the strcmp() function

42 121040

what is the difference between const char *p, char const *p, const char* const p

5 49330

Write a program to interchange two variables without using the third variable?

17 37457

a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static Which of the Following Statements are true w.r.t Bit-Fields A)a,b&c B)Only a & b C)Only c D)All

3 9399

What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value

3 9297

When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these

1 5045

A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above

2 6395

What kind of sorting is this? SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j] 3 7637


Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

2 8763

Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stderr D)All the above

5 23011

Which of the Following will define a type NODE that is a node in a Linked list? A)struct node {NODE*next;int x;};type def struct node NODE; B)typedef struct NODE {struct NODE *next;int x;}; C)typedef struct NODE {NODE *next;int x;}; D)typedef struct {NODE *next;int x;}NODE;

5 10533

Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)ferror() A)ii B)i,ii C)iii D)iv

6 10338

Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning

4 6483

Look at the Code: #include void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 11456

Post New Accenture C Interview Questions


Accenture C Interview Questions


Un-Answered Questions

What are the advantages of ms access over ms sql server?

573


How do you sort an array by value?

580


What is difference between getcurrentsession () and opensession () in hibernate?

263


How the circuit breaker is selected for Induction motor of 100 kW, 415 volt, 0.85 power factor, 0.95 efficiency ?

1327


Can a constructor have different name than a class name in java?

707






What is the common usage of serialization?

715


Differentiate between spot instances. An on-demand instance or reserved instance?

154


How to stop the execution of php script?

642


Explain how you would allocate a task to team members?

670


What is expention fastener (Fan)

1701


Tell me which property of the servicebase class can be used to specify whether a service can be paused and resumed?

418


Explain what does the standard journal entry includes?

729


how to calibrate Necleuonic level transmitter.?

1781


Explain a segment?

726


Are there any special requirements for namenode?

286