What is function and its example?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What does #pragma once mean?

0 Answers   Celstream,


what is an ERP?

2 Answers   Infotech,


what is C?

9 Answers   Syntel,


what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??

5 Answers  


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

0 Answers   TCS,


#include<stdio.h> #include<conio.h> void main() { int m=0111,n=20; printf("%d%d\n",m,n); getch(); }

1 Answers  


6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1

4 Answers  


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} .

2 Answers   Oracle,


Why is sprintf unsafe?

0 Answers  


program to get the remainder and quotant of given two numbers with out using % and / operators?

10 Answers   College School Exams Tests, IBM,


What is the difference between far and near ?

0 Answers  


What are the various topologies? Which one is the most secure?

2 Answers  


Categories