C ++ Sorusu

Aselkom

Femtopat
Katılım
11 Ocak 2021
Mesajlar
6
Daha fazla  
Cinsiyet
Erkek
C++ Soru:

20210111_140113.jpg
 
#include <stdio.h>




struct student {
? int StudentID;
? char *Student_Name;
};



int main( void )
{
int hash;
int hash_generator=4;

struct student You;



You.StudentID =
You.Student_Name =




hash = You.StudentID % hash_generator;


printf( " \n Hash obtained from your student ID number is ?%d \n ", hash);
printf( " \n After calculating the hash, the RESULT is %c \n ", (You.Student_Name[hash]));

return 0; /* indicates successful termination */
}
Burda hash ne işe yarıyor
Burda hash ne işe yarıyor
Burda hash ne işe yarıyor

#include <stdio.h>




struct student {
int StudentID;
char *Student_Name;
};



int main( void )
{
int hash;
int hash_generator=4;

struct student You;



You.StudentID =
You.Student_Name =




hash = You.StudentID % hash_generator;


printf( " \n Hash obtained from your student ID number is ?%d \n ", hash);
printf( " \n After calculating the hash, the RESULT is %c \n ", (You.Student_Name[hash]));

return 0; /* indicates successful termination */
}
 
Uyarı! Bu konu 5 yıl önce açıldı.
Muhtemelen daha fazla tartışma gerekli değildir ki bu durumda yeni bir konu başlatmayı öneririz. Eğer yine de cevabınızın gerekli olduğunu düşünüyorsanız buna rağmen cevap verebilirsiniz.

Technopat Haberler

Geri
Yukarı