Given a piece of code
int x[10];
int *ab;
ab=x;
To access the 6th element of the array which of the
following is incorrect?
(A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} .
Answers were Sorted based on User's Feedback
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?
Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.
What are global variables and explain how do you declare them?
how to find out the union of two character arrays?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
what are two kinds of java
write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)
26 Answers ADITI, iFlex, Infosys, Oracle, TCS, Unicops, Wipro,
write a program to remove occurrences the word from entered text?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
Explain what are the advantages and disadvantages of a heap?