can any body please explain me the concept of function overriding in C++????
Type: Posts; User: csvraju
can any body please explain me the concept of function overriding in C++????
its not taking the inputs properly and i know using a temp is enough but its the requirement thats says not to use any typeof temporary variable
can any body tell me why this code is not reading the characters properly
#include <stdio.h>
void swap(void *,void *,int );
int main()
{
int num1,num2;
char c1,c2;
can we use bitwise operators on float variables
how can we swap pointers with out using a temporary variable
yes the first line has a typo its actually 43,6,9...........
my command line i mean we have to take some input ............in such case we read it........so how do we take inputs for a ragged array
Actually a ragged array is a two dimensional array in which the elements in the rows is not same.
here is a sample input how it should be read
43.6.9
90
45,1,21
How do we take the inputs for ragged arrays from command line.......??
the problem is solved
ok i got it.......
using void pointers we can increment the value of char and integers .......
but i am not able to increment the value of a float variable
#include <stdio.h>
int main()
{
int i=10;
...
is the declaration correct for type casting a void pointer
*(char *)vptr;
(*(char *)vptr)++; will the void pointer increment
i am very sorry for that............my apologies...........i am new to the forum and i dont know how to start a new thread...........please help me in doing so..............i will be very thankful
Can the pointer arithmetic be done on the void pointer? If not, what to do when void pointer is having the
address of some integer or other data type and we want to increment it?