I have a structure, and am trying to get the size of this structure. SizeOf returns 16, but I am expecting 14 as answer. 2+2+4+2+2+2=14 By using pointers I noti
#include <iostream> using namespace std; struct stud { char name[10]; int id; }; int input(stud a[], int size) { for(int i=1; i<=size; i+
I have learned that pointers can be declared in 3 different ways: int* a; int *b; int * c; I prefer: int* a; While declaring a pointer to a structure, is it c
At my course we are getting tasks that always start with filling a random matrix size nxm with random numbers. I want to create(a library?, a class?) some struc
I am new to PHP and want to know the directory structure for the php projects. I have experience in Java and in java we have src contains java source files, WEB
Currently I am working on a infrastructure in azure that comprises of the following: resource group application gateway app service etc everything I have is in
Is it okay to write code like this, with statements spanning across multiple lines? $db_selected = mysql_select_db( 'my_dbase', mysql_connect(