How is a two dimensional array passed to function when the
order of matrix is not known at complie time?
Answer / mr.a
jus pass the name of array.....to a function as it was
getting into a pointer....
Is This Answer Correct ? | 0 Yes | 0 No |
Develop a program that computes the new price of an item. The program should receive a character variable colour and a double precision floating-point variable price from the user. Discount rate is determined based on the colour of the discount sticker, as shown in the following table. An error message should be printed if an invalid colour has been entered
In which header file is the null macro defined?
i want to asked a question about c program the question is: create a c program that displays all prime numbers less than 500? using looping statement
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Is sizeof a keyword in c?
can anyone please tell me wat is backlogs... i was looking for the job openings where i read this.. eligibility criteria minimum 70% in degree without backlogs. is that arrear.. if so is it standing arrear or history of arrears... please help me...
11 Answers CTS, Indian Navy, L&T, Microsoft, SSB, TCE, TCS,
Magic square
Difference between malloc() and calloc() function?
main() { char *p; p="Hello"; printf("%c\n",*&*p); }
#include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above