What are function pointers? Provide an example.
Answer / nashiinformaticssolutions
Pointers to functions that allow dynamic invocation of functions. Example:
void (*funPtr)(int) = &printNumber;
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the various topologies? Which one is the most secure?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
what is the value of 'i'? i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
7 Answers Cadence, JNTU, Zen Technologies,
can we print any string in c language without using semicolon(;)(terminator) in whole program.
a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6
Who is the founder of c language?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Output for following program using for loop only * * * * * * * * * * * * * * *
Can we increase size of array in c?
Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program
ABCDCBA ABC CBA AB BA A A
Are pointers integers in c?