This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main( void ) | |
{ | |
// 5 adet ogrenci icin 8 adet sinavi | |
// temsil etmesi icin bir ogrenci tablosu | |
// olusturuyoruz. Bunun icin 5x8 bir matris | |
// yaratilmasi gerekiyor. | |
int ogrenci_tablosu[ 5 ][ 8 ]; | |
int i, j; | |
for( i = 0; i < 5; i++ ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <pthread.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
pthread_mutex_tmutex=PTHREAD_MUTEX_INITILIZER; | |
intshared_data=1; | |
void *consumer(void* arg) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function validation_vkn($vkn) | |
{ | |
$balance = true; | |
for ($i = 0; $i < strlen($vkn); $i++) { | |
if (is_numeric($vkn[$i])) { | |
} else | |
$balance = false; | |
} | |
if (strlen($vkn) == 10 && $balance) { | |
$vkn_1 = $vkn[0]; |